T-Mobile Theme Engine

---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>

Conflicts:
	core/java/android/app/ActivityThread.java
	core/java/android/app/ContextImpl.java
	core/java/android/content/res/AssetManager.java
	core/java/android/content/res/Configuration.java
	media/java/android/media/RingtoneManager.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	policy/src/com/android/internal/policy/impl/GlobalActions.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	services/java/com/android/server/InputMethodManagerService.java
	services/java/com/android/server/NotificationManagerService.java

Allow theming of lockscreen

Change-Id: I10799482e0b393746b4c9818f94862109fac6006

Audioservice: Fix Theme engine support

A few more instances of mVolumePanel.postXXXX had to be enclosed in a
null pointer avoidance wrapper.

Change-Id: I60a0544b5a785417af1ea61e7322b06f2748876b

Conflicts:
	media/java/android/media/AudioService.java

Audioservice: Derp in "Fix Theme engine support" commit

platform: Fix the gid for the theme manager service

It was mismatched with fs_config, resulting in attribution of the
"-1" gid

Change-Id: Ia6d55af0b39f659da2965f9bc0bda0df5c775ba4

fix merge