HALO: Option to pause the underlying app (1/2)

- adds an option to pause the active app when using HALO
- this is enabled by default for devices with low memory
- (currently: <640MB RAM available to the kernel)
Merge pull request #24 from tonyp/jellybean

HALO: Option to pause the underlying app (1/2)
NFC Polling Mode (3/3)
Signed-off-by: Jubakuba <Jubakuba@gmail.com>
Signed-off-by: sethyx <sethyx@gmail.com>
Reworked transparent layer
When a halo'ed window is opened, the transparent layer will be always visible. It will manage the background dim.
This fixes some apps dimming its sandboxed processes (like chrome).

LayerActivity manages its own lifecycle. When it's focused after paused it finishes itself.

System processes (identified by "android" pkg in SystemUI and system uid in Activity) don't use the layer and still use their own background. This
has been kept this way to not interfere with their activity.
NotificationManagerService: fix typo on led off time variable
Fixing crash in PhoneNumberUtils getNumberFromIntent

Handling intent with no data when trying to retrieve number from
intent.
Merge branch 'jellybean' of https://github.com/ParanoidAndroid/android_frameworks_base into jellybean
Update README.md
Check themes of current user, not user 0.
LayerActivity: Corrected lifecycle
Should contemplate the case that the activity gets stopped
Revert "Lock screen: Hide initial pages hints feature (1/2)"

This reverts commit 485ae801d669f1b09e55842e1bab0ece62f93165.
Fix little derp causing visual bug

To reproduce, disable halo, and press "clear all notifications" button

Change-Id: Ice7ab62229e27db53ef51fd5df55dbcd0a86358b
Show as floating window on recent apps

This also removes "hybrid properties" from recents menu, it is fairly unneeded
now. This is a test, It's probable that it will be removed later

Change-Id: I3db3a996fa08367e3dfa4231079fe5e811e3b08a
Halo: Add master switch to disable Halo (1/2)
-Port master switch from @Der-Schubi.
-Fixed Halo not showed at first notifiction pulldown.
Don't bring home to the front if we're opening a floating activity
Merge branch 'jellybean' of github.com:ParanoidAndroid/android_frameworks_base into jellybean