summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2013-09-01 16:24:14 +0700
committerRicardo Cerqueira <cyanogenmod@cerqueira.org>2013-09-01 16:25:24 +0100
commitf9e4ad62d692f5b0afc1be62080012f93a73a386 (patch)
treeea472be03d768116d00915545a27f2505c669c48 /core
parent39e05c74197bf54ba89f025ae98bfa16387234f6 (diff)
downloadframeworks_base-f9e4ad62d692f5b0afc1be62080012f93a73a386.zip
frameworks_base-f9e4ad62d692f5b0afc1be62080012f93a73a386.tar.gz
frameworks_base-f9e4ad62d692f5b0afc1be62080012f93a73a386.tar.bz2
PackageManager: allow build-time disabling of components
Allow components to be specified as disabled at build time (applied on boot). This allows stock OTA components to be marked as disabled in CM builds. Change-Id: I6e4499cc40a779792a5ea97a10137399dad7d69f
Diffstat (limited to 'core')
-rw-r--r--core/res/res/values/config.xml4
-rw-r--r--core/res/res/values/symbols.xml3
2 files changed, 7 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index 20b1a56..f12b54c 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -1150,4 +1150,8 @@
<!-- True if the pie service should be started at system start. This is must be true
to support pie controls. -->
<bool name="config_allowPieService">true</bool>
+
+ <!-- The list of components which should be automatically disabled. -->
+ <string-array name="config_disabledComponents" translatable="false">
+ </string-array>
</resources>
diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml
index ef66ddd..2a05c40 100644
--- a/core/res/res/values/symbols.xml
+++ b/core/res/res/values/symbols.xml
@@ -2014,4 +2014,7 @@
<java-symbol type="string" name="privacy_guard_notification" />
<java-symbol type="string" name="privacy_guard_notification_detail" />
<java-symbol type="drawable" name="stat_notify_privacy_guard" />
+
+ <!-- Package Manager -->
+ <java-symbol type="array" name="config_disabledComponents" />
</resources>