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
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>