QuickSettings : Add BatterySaver Tile (1/2)

Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/java/com/android/internal/util/liquid/QSConstants.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java

Conflicts:
	core/java/com/android/internal/util/liquid/QSConstants.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java

Change-Id: I16e068a5f363c2f810e392fbc1c31c856047fe41
[2/2] Frameworks: Halo Color

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

Conflicts:
	core/java/android/provider/Settings.java

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/halo/HaloProperties.java
Allow installation of non market apps by default
HALO: update halo resources on status bar recreation.

- This commit update the state of halo exoanded status bar icon on theme changes

Change-Id: I9775d9e41fc8df452a0e8db6807a8dd099d22868
[1/2] base: Add Haptic Feedback to quicktiles

Change-Id: Ia3bbb6ef90a9f7b3cf45c341d3b95eb131a96694
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/quicksettings/QuickSettingsTile.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/QuickSettingsTile.java
QuickSettings : Add BatterySaver Tile (1/2)

Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/java/com/android/internal/util/liquid/QSConstants.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java

Conflicts:
	core/java/com/android/internal/util/liquid/QSConstants.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java

Conflicts:
	packages/SystemUI/res/values/bs_strings.xml

Change-Id: I747f95df388d050ae3cf39581cbb7c0ea7ef55f4
remove these for next pick

Change-Id: I6876508ec860b2d6825c364096e4a8a0c612d7c6
Signed-off-by: scott <scott@ubuntu>
New Halo drawables thanks to Arz Bhatia and PA team

Change-Id: Ic63b433466d686a645133d987bfc17ba4b6ff42d
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	packages/SystemUI/res/drawable-hdpi/ic_notify_halo_normal.png
	packages/SystemUI/res/drawable-mdpi/ic_notify_halo_normal.png
	packages/SystemUI/res/drawable-xhdpi/ic_notify_halo_normal.png

Conflicts:
	packages/SystemUI/res/drawable-hdpi/halo_bg.png
	packages/SystemUI/res/drawable-hdpi/ic_notify_halo_pressed.png
	packages/SystemUI/res/drawable-mdpi/halo_bg.png
	packages/SystemUI/res/drawable-mdpi/ic_notify_halo_pressed.png
	packages/SystemUI/res/drawable-xhdpi/halo_bg.png
	packages/SystemUI/res/drawable-xhdpi/ic_notify_halo_pressed.png
HALO: change holo blue to holo grey matching new drawables

Change-Id: Ib62b975cee90e009ce3ca149333e9b4ea27445c4
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java
Framework: add camera tile (1/2)

Modified by liquid0624 to work with SlimRoms quick settings

Change-Id: Id0beb3dd559536bb5571ddc87cb0bcb4945b1a77
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/java/com/android/internal/util/beanstalk/DeviceUtils.java
	core/java/com/android/internal/util/beanstalk/QSConstants.java
	packages/SystemUI/res/values/bs_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java

Conflicts:
	packages/SystemUI/res/values/bs_strings.xml
Framework: add compass tile (1/2)

Add a compass tile to quick settings.
Clicking on it enables the sensor and clicking again disables it.

Screenshot: http://goo.gl/2frdpy

Modified by liquid0624 to work with SlimRoms quick settings

Change-Id: Icd9d12929f0491f6958f30de139ef39bb4c2e037
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/java/com/android/internal/util/beanstalk/DeviceUtils.java
	packages/SystemUI/res/values/bam_arrays.xml
	packages/SystemUI/res/values/bs_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Fix camera tile text gravity attribute
Protected App [1/3]
 PackageManager:
   Add support for Protected App Components
   Adding protect flag to ApplicationInfo

 SettingsProvider:
   New DB entry for protected app components

Change-Id: If04843e93b572191d4654c01f4da8f087ba9fba8
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/java/android/content/pm/ApplicationInfo.java

Conflicts:
	core/java/android/provider/Settings.java
Updating ActivityIntentResolver so that queryIntents doesn't return protected applications.

Any calls from System UID(1000) are not filtered

Change-Id: I037cddaf91b6943b8cc837c5b046cf320c4caa5f
Add the appropriate @hide flag so we can build!

Change-Id: Id45f682287741badb13e256f6029c52820a068bd
Keyguard: update correctly track title and info if screen turns on

AOSP issue - Force update both if screen turns on.

Change-Id: I3d3198534c3ccdaa0ad2f40a967cc092a7dc0a0c
Keyguard: don't try to fetch the badgeIcon if remoteClientPackage == null

Logcat shows....if client is lost there is no need to force an exception due that remoteClientPackage
in this case is null.

Change-Id: I80e612610f93c9d70c854b2fcb8fbf0c0d8f9e2a
Launch floating notifications from notification panel (long click)

 * Status bar - long click on notification select 'floating mode' option

fix derp in floating notification launch

Notification long press fix

Change-Id: I18c5fb8217596a1a3615985419be4ef12513021f
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	packages/SystemUI/res/menu/notification_popup_menu.xml
	packages/SystemUI/res/values/probam_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Kill floating activities running in the same thread when tapping outside

This change makes all activities from the same app to be finished when we tap outside the halo window. Other apps running in different threads
(floating or not) won't be finished.

Port from here: https://github.com/ParanoidAndroid/android_frameworks_base/commit/f489f45ab2ba5dd4991c241917f7f4b0fd74b884

Change-Id: Ie6d6f46b2e23be60f991520ed480c2866fb2d0e3
Recents: Launch as Floating App

Ported from JB 4.3
Based on hybrid (Aaron) and Halo (Jesus) implementation

change-Id: I84f4d3928af5c6ddd96a9a173a1c24e85ff606dd
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	packages/SystemUI/res/values/probam_strings.xml