Commit themes to AOKP:
Squashed commit of the following:
maniac103: Allow theming of framework UI elements - a528877173
rmcc: SimUnlockScreen: Explicitly register themeChange receiver - 8da5dd0a5
rmcc: Fix theming of the Shutdown Thread - 0d6dea4e2f
rmcc: Merge branch 'themes-4.1.1' into cm10 - 5a35f209e

Change-Id: I16fff820fcf74394ce2884106887f8e284ffe235

Conflicts:
	core/java/android/app/ActivityManager.java
	core/java/android/app/ActivityThread.java
	core/java/android/app/ContextImpl.java
	core/java/android/content/Intent.java
	core/java/android/content/SyncManager.java
	core/java/android/content/pm/ApplicationInfo.java
	core/java/android/content/pm/PackageManager.java
	core/java/android/content/pm/PackageParser.java
	core/java/android/content/res/Configuration.java
	core/java/android/content/res/Resources.java
	media/java/android/media/AudioService.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
	policy/src/com/android/internal/policy/impl/AccountUnlockScreen.java
	policy/src/com/android/internal/policy/impl/GlobalActions.java
	policy/src/com/android/internal/policy/impl/LockPatternKeyguardView.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	policy/src/com/android/internal/policy/impl/SimUnlockScreen.java
	services/java/com/android/server/DeviceStorageMonitorService.java
	services/java/com/android/server/InputMethodManagerService.java
	services/java/com/android/server/PowerManagerService.java
	services/java/com/android/server/UiModeManagerService.java
	services/java/com/android/server/am/ActivityManagerService.java
	services/java/com/android/server/pm/PackageManagerService.java
	services/java/com/android/server/pm/Settings.java
	services/java/com/android/server/wm/WindowManagerService.java
	test-runner/src/android/test/mock/MockPackageManager.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	policy/src/com/android/internal/policy/impl/GlobalActions.java
	services/java/com/android/server/wm/WindowManagerService.java
RESOLVED

 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/SyncManager.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/SystemUI.java
	modified:   packages/SystemUI/src/com/android/systemui/SystemUIService.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/PhoneStatusBarView.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java
	modified:   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/ThrottleService.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/pm/PackageManagerService.java
	modified:   services/java/com/android/server/pm/Settings.java
	modified:   services/java/com/android/server/power/PowerManagerService.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