summaryrefslogtreecommitdiffstats
path: root/config/permissions
diff options
context:
space:
mode:
authorClark Scheff <clark@cyngn.com>2014-09-11 12:16:55 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2014-09-17 16:14:51 +0000
commit16375b867981f754764a7a5549ccb5b5ec11ecdf (patch)
tree9f55a294a000ba3ce029ff797e349973f784089a /config/permissions
parent099f4c4402b94798ab1d6f15d3172d15368d6fb6 (diff)
downloadvendor_replicant-16375b867981f754764a7a5549ccb5b5ec11ecdf.zip
vendor_replicant-16375b867981f754764a7a5549ccb5b5ec11ecdf.tar.gz
vendor_replicant-16375b867981f754764a7a5549ccb5b5ec11ecdf.tar.bz2
Themes: Add versioning to the theme feature
As new features and enhancements to the theme apk format are added we will need a way for themes to specify which version of the theme format they are targeting. Exclusion of the theme feature in a theme apk will imply v1. Change-Id: I0016d58341ca3144bb4a4faa16663ab29439ab24
Diffstat (limited to 'config/permissions')
-rw-r--r--config/permissions/org.cyanogenmod.theme.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/permissions/org.cyanogenmod.theme.xml b/config/permissions/org.cyanogenmod.theme.xml
index a26a04c..4b09eb5 100644
--- a/config/permissions/org.cyanogenmod.theme.xml
+++ b/config/permissions/org.cyanogenmod.theme.xml
@@ -15,5 +15,14 @@
-->
<permissions>
+ <!-- The features listed here should coincide with the various iterations of
+ the CyanogenMod theme engine. New org.cyanogenmod.theme.vX features
+ should only be added when the structure of the theme apk format is changed
+ -->
+
+ <!-- This is an alias for org.cyanogenmod.theme.v1 -->
<feature name="org.cyanogenmod.theme" />
+
+ <!-- Supports themes using v1 of the theme engine -->
+ <feature name="org.cyanogenmod.theme.v1" />
</permissions>