Squashed commit of the theme engine support

Ayysir
Theme Engine Support for 4.3

Fixes:
TE AndroidRuntime.cpp: Missing register_android_content_res_PackageRedirectionMap

Update ZygoteInit.java

NotificationManagerService: Duplicate LED Custom Line

GlobalActions: Reboot Menu fix
==============================================

Updated 4.2 support for the old T-Mobile theme engine, as usual
needs the provider and switcher apps installed as well.

I'm finally dropping the 400+ commit history on this, since everybody
else keeps picking it up from CM as a single patch anyway... But
for the record, nothing of this would be possible without Josh, Ed,
and the rest of the TMo guys who wrote and maintained it until 2.2:

amit chabra <amit.chabra@t-mobile.com>
Amit Kohli <amit.kohli@t-mobile.com>
Chris Cogar <chriscogar@t-mobile.com>
Dirk Sigurdson <dirk.sigurdson@t-mobile.com>
Ed Carrigan <edward.carrigan@t-mobile.com>
Gaurav Sharma <gaurav.sharma3@t-mobile.com>
Hui Feng <hui.feng@t-mobile.com>
John Ritz <john.ritz1@t-mobile.com>
Josh Guilfoyle <josh.guilfoyle@t-mobile.com>
Mark Roberts <mark.roberts48@t-mobile.com>
Pankaj Kumar <Pankaj.kumar6@t-mobile.com>
Samuel Cheung <samuel.cheung@t-mobile.com>
Sergey Ten <sergey.ten6@t-mobile.com>

Change-Id: I7148d51be48f28a2dc4bdf9ec9018f04b268ffc4

Signed-off-by: ayysir <dresadd09691@gmail.com>
ThemeUtils: Retain the original package name in themed UI context

In order for themes to reflect on system elements, we're changing
their context, including the package name.

This breaks anything that tries to identify system elements,
most notably any users of the uiautomator. Trying to do
'UiSelector().packageName("android")' to find, for example,
a force-close dialog will fail.

Fixes com.android.cts.uiautomatortest.CtsUiAutomatorTest#testUiWatcher

Change-Id: Ic05c3024b20ac3772ed5597846fbfa4a184ebb0d
Get theme info for current user instead of user 0

Signed-off-by: travp624 <travp624@gmail.com>
Merge branch 'offpa/ThemeEngine'
fix derp in floating notification launch
Remove IDeviceHandler reference

Change-Id: I2046e2b5ecca09bfbcc4e90ac447bdececda0405
Revert "Remove IDeviceHandler reference"

This reverts commit d05e03de0f8263dad32ab37651524731ac9e95fc.
Revert "Get theme info for current user instead of user 0"

This reverts commit 1bc276158db9d76b79b9dd812894d7ad645b53ef.
Revert "ThemeUtils: Retain the original package name in themed UI context"

This reverts commit 58635f94984d766dbce7870a72ed66e47f19e9cf.
Theme Engine is not yet ready
Revert "Squashed commit of the theme engine support"

This reverts commit 7e6497bb678c38b4be0395d0fbdead011b4b639a.
THEME ENGINE (1/2)

---Theme Engine Support for 4.3

TE AndroidRuntime.cpp: Missing register_android_content_res_PackageRedirectionMap

Update ZygoteInit.java

NotificationManagerService: Duplicate LED Custom Line

GlobalActions: Reboot Menu fix

Signed-off-by: ayysir <dresadd09691@gmail.com>

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

---Squashed commit of the theme engine support

Updated 4.2 support for the old T-Mobile theme engine, as usual
needs the provider and switcher apps installed as well.

I'm finally dropping the 400+ commit history on this, since everybody
else keeps picking it up from CM as a single patch anyway... But
for the record, nothing of this would be possible without Josh, Ed,
and the rest of the TMo guys who wrote and maintained it until 2.2:

amit chabra <amit.chabra@t-mobile.com>
Amit Kohli <amit.kohli@t-mobile.com>
Chris Cogar <chriscogar@t-mobile.com>
Dirk Sigurdson <dirk.sigurdson@t-mobile.com>
Ed Carrigan <edward.carrigan@t-mobile.com>
Gaurav Sharma <gaurav.sharma3@t-mobile.com>
Hui Feng <hui.feng@t-mobile.com>
John Ritz <john.ritz1@t-mobile.com>
Josh Guilfoyle <josh.guilfoyle@t-mobile.com>
Mark Roberts <mark.roberts48@t-mobile.com>
Pankaj Kumar <Pankaj.kumar6@t-mobile.com>
Samuel Cheung <samuel.cheung@t-mobile.com>
Sergey Ten <sergey.ten6@t-mobile.com>

Change-Id: I7148d51be48f28a2dc4bdf9ec9018f04b268ffc4

Signed-off-by: Ricardo Cerqueira <cyanogenmod@cerqueira.org>

---ThemeUtils: Retain the original package name in themed UI context

In order for themes to reflect on system elements, we're changing
their context, including the package name.

This breaks anything that tries to identify system elements,
most notably any users of the uiautomator. Trying to do
'UiSelector().packageName("android")' to find, for example,
a force-close dialog will fail.

Fixes com.android.cts.uiautomatortest.CtsUiAutomatorTest#testUiWatcher

Change-Id: Ic05c3024b20ac3772ed5597846fbfa4a184ebb0d

Signed-off-by: Ricardo Cerqueira <cyanogenmod@cerqueira.org>

---Get theme info for current user instead of user 0

Signed-off-by: travp624 <travp624@gmail.com>

---Remove IDeviceHandler reference

Change-Id: I2046e2b5ecca09bfbcc4e90ac447bdececda0405

Signed-off-by: JB <jaybob413@gmail.com>
QuickSettings: Add LTE Tile (1 of 2)

Patchset 3 - Add proper drawables and update logic
Patchset 4 - Rebase
Patchset 5 - Fix build errors

Thank you to Bjorn Lunden for the drawables

Change-Id: Ia25d098020586e06d38589f84d3d1a581e7cbd9a

Conflicts:

	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java

Fixes for LTE Toggle

Additional fixes for LTE toggle...
Merge branch 'pa43'

Conflicts:
	core/jni/AndroidRuntime.cpp
	services/java/com/android/server/SystemServer.java
	services/java/com/android/server/wm/WindowManagerService.java