summaryrefslogtreecommitdiffstats
path: root/overlay
diff options
context:
space:
mode:
authorGianmarco Reverberi <gianmarco.reverberi@gmail.com>2015-03-10 20:16:06 +0100
committerEthan Chen <intervigil@gmail.com>2015-03-20 16:04:13 +0000
commit768292df1d7ae1c975885e683a034cc336bf55c8 (patch)
treefeb6b32c2e19d8b86f2cf868c55e4c017d05d3f2 /overlay
parent9c2413bc19fb89a722f3bc251833059d9b19674f (diff)
downloadvendor_replicant-768292df1d7ae1c975885e683a034cc336bf55c8.zip
vendor_replicant-768292df1d7ae1c975885e683a034cc336bf55c8.tar.gz
vendor_replicant-768292df1d7ae1c975885e683a034cc336bf55c8.tar.bz2
SystemUpdateService: enable service but lock its receivers [2/2]
Added SecretCodeReceiver to locked components Added list of components that need to be forced enabled (because they've been previously disabled) Change-Id: I7cc0efc1830b45bc5384ff421b829e0be0d955d8
Diffstat (limited to 'overlay')
-rw-r--r--overlay/common/frameworks/base/core/res/res/values/config.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/overlay/common/frameworks/base/core/res/res/values/config.xml b/overlay/common/frameworks/base/core/res/res/values/config.xml
index a237844..1d92819 100644
--- a/overlay/common/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/common/frameworks/base/core/res/res/values/config.xml
@@ -27,12 +27,18 @@
<!-- Disable stock OTA components if installed -->
<string-array name="config_disabledComponents" translatable="false">
<item>com.google.android.gsf/com.google.android.gsf.update.SystemUpdateActivity</item>
- <item>com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService</item>
<item>com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService$Receiver</item>
+ <item>com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService$SecretCodeReceiver</item>
<item>com.google.android.gms/com.google.android.gms.update.SystemUpdateActivity</item>
- <item>com.google.android.gms/com.google.android.gms.update.SystemUpdateService</item>
<item>com.google.android.gms/com.google.android.gms.update.SystemUpdateService$Receiver</item>
<item>com.google.android.gms/com.google.android.gms.update.SystemUpdateService$ActiveReceiver</item>
+ <item>com.google.android.gms/com.google.android.gms.update.SystemUpdateService$SecretCodeReceiver</item>
+ </string-array>
+
+ <!-- Force enabling of some services that could have been previously disabled -->
+ <string-array name="config_forceEnabledComponents" translatable="false">
+ <item>com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService</item>
+ <item>com.google.android.gms/com.google.android.gms.update.SystemUpdateService</item>
</string-array>
<string name="config_mms_user_agent">CyanogenMod</string>