ParanoidAndroid/android_frameworks_base — pull request #24 by tonyp (2013-06-12 22:39:24+00:00)
Title: HALO: Option to pause the underlying app (1/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).

Please give me some feedback - what do you guys think? :)

Cheers,
tonyp