Enable development shortcut by default
[2/2] Frameworks: HALO

Forward port from jb.
PS1:  Initial port
      Fix conficts with notification LED
      Fix derp
      Major derp
      HALO Mods
      Rebase
      Fix blackist, code clean and added some TODOs
PS2:  Fix build
PS3:  Fix bubble sometimes doesn't respond on new notification
PS4:  Align halo icon
PS5:  Keep floating app in recents and disable transparent layer temporarily
PS6:  Fix conflict after recent merges
PS7:  Cosmetic fixes:
      Fix buttons layout in status bar.
      Status bar button holders show halo + qs switch on notification and qs edit mode + notification switch on qs.
      Update new margins size.
PS8:  Rebase
      Clean white spaces
      Toggle on/off from notification shade icon (remove red X)
      Standardize behavior (remove option to reverse tap/double tap)
PS9:  Remove references to LayerActivity
PS14: Rebase
PS15: update halo strings to prevent conflict with latest changes
PS16: Wrap all things!
      Modify halo behavior
PS17: Get the correct activity stack: this makes all windows in the same stack to get the floating mode
PS18: Stop pop-out on rotation
      Catch "silent" notifications
PS19: Rebase
PS20: Rebase, fix conflicts with recent merges
PS21: Fix missing commit messages from previous undefined patchset (19) and other conflicts

Change-Id: I3e79945433d61da090ca263f4e2989be9987f11d

Signed-off-by: anerikg <anerikgames@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/res/values/pa_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	services/java/com/android/server/NotificationManagerService.java
	services/java/com/android/server/am/ActivityStack.java
HALO: make windows moveable and scaleable [WIP]

Change-Id: I8c3118f6d548dc70f186454fb8d15a4bae9bbeb0
Signed-off-by: anerikg <anerikgames@gmail.com>

Conflicts:
	core/java/android/app/Activity.java

Conflicts:
	core/java/android/app/Activity.java
[2/2] Frameworks: Halo Color

Change-Id: I6b8a3e8b1057e466b947da63e5faf67560781837
Signed-off-by: anerikg <anerikgames@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
Update notify HALO icons

Change-Id: I3896a0fc481f3fd1c2ad750a753b603e64b8233a
Fix halo button in statusbar

Signed-off-by: anerikg <anerikgames@gmail.com>
ES translations

Signed-off-by: anerikg <anerikgames@gmail.com>
[1/2] Base: DownloadManager: add support pause/resume/stop notifications

Add pause, resume and stop functions to make user can pause, resume and stop downloads by manual in downloads application.

Change-Id: I82ffff5a539448faab8933e2b47591199bf24cb9
Add native java screen recorder [1/2]

This is based on the screenrecorder binary found in frameworks/av.
It has been converted to a native library with the necessary jni
hooks for interfacing withit via a ScreenRecorder java class.

Volume up + power chord is used to start and stop recording by
binding to the service found in the ScreenRecorder app:
https://github.com/ChameleonOS/android_packages_apps_ScreenRecorder

PS1:
Clean up white space.

PS2:
Fix naming convention for state field.

PS3:
Rebase

PS4:
Post mScreenRecordTimeout with 1000 millisecond delay instead
of 10000.

PS5:
Send record screen broadcast instead of using the service
directly.

PS6:
SCREEN_RECORDER_FRAMERATE should be SCREEN_RECORDER_BITRATE

Change-Id: I5b7af9b4b4f24a8c54ac0f9dcb36ace16672e2cf
Signed-off-by: anerikg <anerikgames@gmail.com>

Conflicts:
	core/res/res/values/vendor_strings.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Screen recorder: add ability to record audio from mic [1/3]

Change-Id: I2422a3c651e469bc9ffeb6b101f43e145dc5de85
ES translations

Signed-off-by: anerikg <anerikgames@gmail.com>
googlebackuptransport: fix for google backup and restore

This fixes restore issues with properly done 4.4 gapps

Change-Id: Ib0cec129d138a195e64f5bba36602ac5fdeda42d
Multi-user support for phones

Allow multi-user support on devices that previously didn't have it without
hard-coding it on.

ps2: Give it the nuclear touch.
ps3: Correct initialization.

Change-Id: I376f3f51ee1d8843d0977384101f93e23e278c97

Conflicts:
	core/java/android/provider/Settings.java
SystemUI: Add missing sound permissions for screen recording

Change-Id: If948aabfd5c2e09f192f12aa02830d39346d2c6c

Conflicts:
	packages/SystemUI/AndroidManifest.xml
Change default wallpaper

Signed-off-by: anerik <anerikgames@gmail.com>
Change default wallpaper

Thanks edisile

Signed-off-by: anerikg <anerikgames@gmail.com>

Conflicts:
	core/res/res/drawable-holodark-nodpi/default_wallpaper.jpg
	core/res/res/drawable-holodark-xhdpi/default_wallpaper.jpg
	core/res/res/drawable-holodark-xxhdpi/default_wallpaper.jpg
	core/res/res/drawable-nodpi/default_wallpaper.jpg
	core/res/res/drawable-sw600dp-holodark-nodpi/default_wallpaper.jpg
	core/res/res/drawable-sw600dp-nodpi/default_wallpaper.jpg
	core/res/res/drawable-sw720dp-holodark-nodpi/default_wallpaper.jpg
	core/res/res/drawable-sw720dp-nodpi/default_wallpaper.jpg
	core/res/res/drawable-xhdpi/default_wallpaper.jpg
	core/res/res/drawable-xxhdpi/default_wallpaper.jpg
Keep on notification LED while dreaming.

Change-Id: I407e34f9c60d3140f78abca133b4fda5dd45f311
JIRA:CYAN-689

Conflicts:
	services/java/com/android/server/NotificationManagerService.java

Conflicts:
	services/java/com/android/server/NotificationManagerService.java
Legoify some icons

Thanks partimusprime!

Signed-off-by: anerikg <anerikgames@gmail.com>
Improve tethering notification icons

Replaces the stock icons with the ones I submitted as part of
http://review.cyanogenmod.com/#/c/15930/ in CM9.

Change-Id: Iecfae9ad579c6c9ae06da0a08b61e9359a8a37b0
Add xxhdpi versions of our improved tethering icons

Change-Id: If943f81389774a1f8ca0407cab4756687a273be7