PORTED: Bring in TMobile Theme engine from 4.1.2

Note: I had to merge locally so i'll link to commit
history later

Conflicts:
	core/java/android/app/ContextImpl.java
	core/java/android/content/pm/PackageInfo.java
	core/java/android/content/res/Resources.java
	core/jni/AndroidRuntime.cpp
	data/etc/platform.xml
	libs/androidfw/AssetManager.cpp
	media/java/android/media/AudioService.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
	services/java/com/android/server/DeviceStorageMonitorService.java
	services/java/com/android/server/NotificationManagerService.java
	services/java/com/android/server/SystemServer.java
	services/java/com/android/server/ThrottleService.java
	services/java/com/android/server/am/ActivityManagerService.java
	services/java/com/android/server/pm/PackageManagerService.java
	services/java/com/android/server/wm/WindowManagerService.java

Conflicts:
	core/java/android/app/ActivityManager.java
	core/java/android/app/ActivityThread.java
	core/jni/AndroidRuntime.cpp
	include/androidfw/AssetManager.h
	libs/androidfw/Android.mk
	libs/androidfw/ResourceTypes.cpp
	media/java/android/media/AudioService.java
	media/java/android/media/RingtoneManager.java
	packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java
	packages/SystemUI/res/layout/status_bar.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
	services/java/com/android/server/NotificationManagerService.java
	services/java/com/android/server/SystemServer.java
	services/java/com/android/server/am/ActivityManagerService.java
	services/java/com/android/server/pm/PackageManagerService.java

 Author:    synergy <synergye@codefi.re>
 On branch android-4.4
 You are currently cherry-picking.
 Changes to be committed:

	modified:   Android.mk
	modified:   core/java/android/app/ActivityManager.java
	modified:   core/java/android/app/ActivityThread.java
	modified:   core/java/android/app/ApplicationPackageManager.java
	modified:   core/java/android/app/ContextImpl.java
	modified:   core/java/android/content/Intent.java
	modified:   core/java/android/content/pm/ActivityInfo.java
	modified:   core/java/android/content/pm/ApplicationInfo.java
	new file:   core/java/android/content/pm/BaseThemeInfo.java
	modified:   core/java/android/content/pm/IPackageManager.aidl
	modified:   core/java/android/content/pm/PackageInfo.java
	modified:   core/java/android/content/pm/PackageManager.java
	modified:   core/java/android/content/pm/PackageParser.java
	new file:   core/java/android/content/pm/ThemeInfo.aidl
	new file:   core/java/android/content/pm/ThemeInfo.java
	modified:   core/java/android/content/res/AssetManager.java
	modified:   core/java/android/content/res/CompatibilityInfo.java
	modified:   core/java/android/content/res/Configuration.java
	new file:   core/java/android/content/res/CustomTheme.java
	new file:   core/java/android/content/res/PackageRedirectionMap.aidl
	new file:   core/java/android/content/res/PackageRedirectionMap.java
	modified:   core/java/android/content/res/Resources.java
	modified:   core/java/android/os/SystemProperties.java
	new file:   core/java/com/android/internal/app/IAssetRedirectionManager.aidl
	new file:   core/java/com/android/internal/app/ThemeUtils.java
	modified:   core/java/com/android/internal/os/ZygoteInit.java
	modified:   core/jni/Android.mk
	modified:   core/jni/AndroidRuntime.cpp
	modified:   core/jni/android_util_AssetManager.cpp
	new file:   core/jni/android_util_PackageRedirectionMap.cpp
	modified:   core/res/AndroidManifest.xml
	modified:   data/etc/platform.xml
	modified:   include/androidfw/AssetManager.h
	new file:   include/androidfw/PackageRedirectionMap.h
	modified:   include/androidfw/ResourceTypes.h
	new file:   include/androidfw/ZipEntry.h
	new file:   include/androidfw/ZipFile.h
	modified:   libs/androidfw/Android.mk
	modified:   libs/androidfw/AssetManager.cpp
	new file:   libs/androidfw/PackageRedirectionMap.cpp
	modified:   libs/androidfw/ResourceTypes.cpp
	modified:   media/java/android/media/AudioService.java
	modified:   media/java/android/media/Ringtone.java
	modified:   media/java/android/media/RingtoneManager.java
	modified:   packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java
	modified:   packages/SystemUI/res/layout/status_bar.xml
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java
	new file:   packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
	modified:   policy/src/com/android/internal/policy/impl/GlobalActions.java
	modified:   policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	new file:   services/java/com/android/server/AppsLaunchFailureReceiver.java
	new file:   services/java/com/android/server/AssetRedirectionManagerService.java
	modified:   services/java/com/android/server/DeviceStorageMonitorService.java
	modified:   services/java/com/android/server/InputMethodManagerService.java
	modified:   services/java/com/android/server/NotificationManagerService.java
	modified:   services/java/com/android/server/SystemServer.java
	modified:   services/java/com/android/server/UiModeManagerService.java
	modified:   services/java/com/android/server/am/ActivityManagerService.java
	modified:   services/java/com/android/server/connectivity/Tethering.java
	modified:   services/java/com/android/server/content/SyncManager.java
	modified:   services/java/com/android/server/pm/PackageManagerService.java
	modified:   services/java/com/android/server/wm/WindowManagerService.java
	modified:   test-runner/src/android/test/mock/MockPackageManager.java
	modified:   tools/aapt/Bundle.h
	modified:   tools/aapt/Main.cpp
	modified:   tools/aapt/ResourceTable.cpp