Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gianmarcorev authored and Beanstown committed Nov 17, 2016
1 parent def6f5b commit 0c4fa54
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions overlay/common/frameworks/base/core/res/res/values/config.xml
Expand Up @@ -27,13 +27,20 @@
<!-- 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>

<!-- Defines the default set of global actions. Actions may still be disabled or hidden based
on the current state of the device. -->
<string-array translatable="false" name="config_globalActionsList">
Expand Down

0 comments on commit 0c4fa54

Please sign in to comment.