Theme engine
diff --git a/config/common.mk b/config/common.mk
index 42cfcbd..8a4ad41 100755
--- a/config/common.mk
+++ b/config/common.mk
@@ -36,12 +36,21 @@
PRODUCT_PACKAGES := \
Stk
+# T-Mobile theme engine
+PRODUCT_PACKAGES += \
+ ThemeManager \
+ ThemeChooser \
+ com.tmobile.themes
+
# DSPManager and libs necessary for it
PRODUCT_PACKAGES += \
DSPManager \
libcyanogen-dsp \
audio_effects.conf
+PRODUCT_COPY_FILES += \
+ vendor/purity/proprietary/common/etc/permissions/com.tmobile.software.themes.xml:system/etc/permissions/com.tmobile.software.themes.xml
+
# Common Keyboard w/ Gestures - Common lib
PRODUCT_COPY_FILES += \
vendor/purity/proprietary/common/app/LatinIME.apk:system/app/LatinIME.apk \
diff --git a/proprietary/common/etc/permissions/com.tmobile.software.themes.xml b/proprietary/common/etc/permissions/com.tmobile.software.themes.xml
new file mode 100644
index 0000000..4e626ef
--- /dev/null
+++ b/proprietary/common/etc/permissions/com.tmobile.software.themes.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<permissions>
+ <feature name="com.tmobile.software.themes" />
+</permissions>