HALO cleanup

hdpi and mdpi drawables were inconsistent, if you plan to use HALO on
lower res devices you must reproduce them.

Change-Id: I2746837bacd60c3079ace4c7523a68b8cd415f5f
HALO: new drawables for hdpi and mdpi

- scaled down the xhdpi drawables properly for hdpi and mdpi
- removed some old and unused halo pngs
Merge branch 'jellybean' of github.com:ParanoidAndroid/android_frameworks_base into jellybean-legacy
Merge pull request #23 from tonyp/jellybean

HALO: new drawables for hdpi and mdpi
Lock screen: Hide initial pages hints feature (1/2)
-Port and adapt of hide hints for initial page AOKP's idea (Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>).
 Option stored in lock screen settings.
-Moved last brightness strings in brightness section and fixed some code alignment.
Fix incorrect fragment animation used for hiding fragments
Mirror of support lib patch
https://android-review.googlesource.com/#/c/60032/ into
frameworks/base.

AOSP Commit: https://android-review.googlesource.com/#/c/60167/
Merge branch 'jellybean' of github.com:ParanoidAndroid/android_frameworks_base into jellybean-legacy
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>
Merge branch 'jellybean' of github.com:ParanoidAndroid/android_frameworks_base into jellybean-legacy
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.
fix button backlight
TEMPORARY: Reintroduce button-backlight (and respective inactivity timeout)

The power manager rewrite from Change I1d7a52e98f0449f76d70bf421f6a7f245957d1d7
completely removed support for control of the button backlights, which makes
all capacitive buttons out there stay dark. The commit message in that change
mentions it hasn't been implemented _yet_, so this fix should be temporary
until upstream does their own implementation

Change-Id: I6094c446e0b8c23f57d30652a3cbd35dee5e821a
Merge branch 'jellybean' of github.com:ParanoidAndroid/android_frameworks_base into jellybean-legacy