Add allowlist mechanism for battery optimization mode
Add a mechanism to add package name into the allowlist to avoid users change the battery optimization modes for specific apps in the list https://screenshot.googleplex.com/8hrHCcTh5bNYXqp Bug: 281566984 Test: make test RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.fuelgauge.* Change-Id: I8efa6a55646d761f5bee3667a59b38ab68c74bc1
This commit is contained in:
@@ -526,6 +526,10 @@
|
||||
<item>content://com.android.settings.slices/intent/media_output_indicator</item>
|
||||
</string-array>
|
||||
|
||||
<!-- List containing the apps cannot be changed the battery optimize modes -->
|
||||
<string-array name="config_disable_optimization_mode_apps" translatable="false">
|
||||
</string-array>
|
||||
|
||||
<!-- Uri to query non-public Slice Uris. -->
|
||||
<string name="config_non_public_slice_query_uri" translatable="false"></string>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user