ParanoidAndroid/android_packages_apps_Settings — pull request #17 by tonyp (2013-06-12 22:39:59+00:00)
Title: HALO: Option to pause the underlying app (2/2)

DO NOT MERGE YET. Please try this out first.
I've been porting this over from my CM10.1 based Halo build.

This adds an option to pause the active app when using HALO.
I've enabled the option by default for devices with low memory. (Do you want that?)
I'm currently using the ActivityManager.isLargeRAM() function which will return true if the device got at least 640MB RAM available to the kernel.

I can customize / enable / disable the default behaviour if you'd like.
But I think it makes sense not to use two foreground activities on older devices which don't have enough RAM (at least by default, users can still change the option if they want).

(Let's use the 1/2 commit for discussions).

Cheers,
tonyp