Remove redundant config_enableAutoPowerModes

The `config_enableAutoPowerModes` property is [set to true via
device_phh_trble][1], so enabling it per overlay again is redundant. All
overlays which contained this property set it to true as well, therefore
this commit removes `config_enableAutoPowerModes` from the overlays and
blacklists it.

[1]: 04583fa95a/overlay/frameworks/base/core/res/res/values/config.xml (L20)
This commit is contained in:
Daniel Roschka 2020-03-15 14:51:24 +01:00
parent 6e9904c968
commit d8bf5b03f0
No known key found for this signature in database
GPG key ID: 885B16854284E0B2
31 changed files with 4 additions and 121 deletions

View file

@ -88,15 +88,6 @@
turned off and the screen off animation has been performed. -->
<bool name="config_dozeAfterScreenOff">true</bool>
<!-- Set this to true to enable the platform's auto-power-save modes like doze and
app standby. These are not enabled by default because they require a standard
cloud-to-device messaging service for apps to interact correctly with the modes
(such as to be able to deliver an instant message to the device even when it is
dozing). This should be enabled if you have such services and expect apps to
correctly use them when installed on your device. Otherwise, keep this disabled
so that applications can still use their own mechanisms. -->
<bool name="config_enableAutoPowerModes">true</bool>
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">5</integer>

View file

@ -88,15 +88,6 @@
turned off and the screen off animation has been performed. -->
<bool name="config_dozeAfterScreenOff">true</bool>
<!-- Set this to true to enable the platform's auto-power-save modes like doze and
app standby. These are not enabled by default because they require a standard
cloud-to-device messaging service for apps to interact correctly with the modes
(such as to be able to deliver an instant message to the device even when it is
dozing). This should be enabled if you have such services and expect apps to
correctly use them when installed on your device. Otherwise, keep this disabled
so that applications can still use their own mechanisms. -->
<bool name="config_enableAutoPowerModes">true</bool>
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">5</integer>

View file

@ -88,15 +88,6 @@
turned off and the screen off animation has been performed. -->
<bool name="config_dozeAfterScreenOff">true</bool>
<!-- Set this to true to enable the platform's auto-power-save modes like doze and
app standby. These are not enabled by default because they require a standard
cloud-to-device messaging service for apps to interact correctly with the modes
(such as to be able to deliver an instant message to the device even when it is
dozing). This should be enabled if you have such services and expect apps to
correctly use them when installed on your device. Otherwise, keep this disabled
so that applications can still use their own mechanisms. -->
<bool name="config_enableAutoPowerModes">true</bool>
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">5</integer>

View file

@ -88,15 +88,6 @@
turned off and the screen off animation has been performed. -->
<bool name="config_dozeAfterScreenOff">true</bool>
<!-- Set this to true to enable the platform's auto-power-save modes like doze and
app standby. These are not enabled by default because they require a standard
cloud-to-device messaging service for apps to interact correctly with the modes
(such as to be able to deliver an instant message to the device even when it is
dozing). This should be enabled if you have such services and expect apps to
correctly use them when installed on your device. Otherwise, keep this disabled
so that applications can still use their own mechanisms. -->
<bool name="config_enableAutoPowerModes">true</bool>
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">5</integer>

View file

@ -88,15 +88,6 @@
turned off and the screen off animation has been performed. -->
<bool name="config_dozeAfterScreenOff">true</bool>
<!-- Set this to true to enable the platform's auto-power-save modes like doze and
app standby. These are not enabled by default because they require a standard
cloud-to-device messaging service for apps to interact correctly with the modes
(such as to be able to deliver an instant message to the device even when it is
dozing). This should be enabled if you have such services and expect apps to
correctly use them when installed on your device. Otherwise, keep this disabled
so that applications can still use their own mechanisms. -->
<bool name="config_enableAutoPowerModes">true</bool>
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">5</integer>

View file

@ -88,15 +88,6 @@
turned off and the screen off animation has been performed. -->
<bool name="config_dozeAfterScreenOff">true</bool>
<!-- Set this to true to enable the platform's auto-power-save modes like doze and
app standby. These are not enabled by default because they require a standard
cloud-to-device messaging service for apps to interact correctly with the modes
(such as to be able to deliver an instant message to the device even when it is
dozing). This should be enabled if you have such services and expect apps to
correctly use them when installed on your device. Otherwise, keep this disabled
so that applications can still use their own mechanisms. -->
<bool name="config_enableAutoPowerModes">true</bool>
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">5</integer>

View file

@ -87,16 +87,7 @@
<!-- If true, the doze component is not started until after the screen has been
turned off and the screen off animation has been performed. -->
<bool name="config_dozeAfterScreenOff">true</bool>
<!-- Set this to true to enable the platform's auto-power-save modes like doze and
app standby. These are not enabled by default because they require a standard
cloud-to-device messaging service for apps to interact correctly with the modes
(such as to be able to deliver an instant message to the device even when it is
dozing). This should be enabled if you have such services and expect apps to
correctly use them when installed on your device. Otherwise, keep this disabled
so that applications can still use their own mechanisms. -->
<bool name="config_enableAutoPowerModes">true</bool>
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">5</integer>

View file

@ -87,16 +87,7 @@
<!-- If true, the doze component is not started until after the screen has been
turned off and the screen off animation has been performed. -->
<bool name="config_dozeAfterScreenOff">true</bool>
<!-- Set this to true to enable the platform's auto-power-save modes like doze and
app standby. These are not enabled by default because they require a standard
cloud-to-device messaging service for apps to interact correctly with the modes
(such as to be able to deliver an instant message to the device even when it is
dozing). This should be enabled if you have such services and expect apps to
correctly use them when installed on your device. Otherwise, keep this disabled
so that applications can still use their own mechanisms. -->
<bool name="config_enableAutoPowerModes">true</bool>
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">5</integer>

View file

@ -87,16 +87,7 @@
<!-- If true, the doze component is not started until after the screen has been
turned off and the screen off animation has been performed. -->
<bool name="config_dozeAfterScreenOff">true</bool>
<!-- Set this to true to enable the platform's auto-power-save modes like doze and
app standby. These are not enabled by default because they require a standard
cloud-to-device messaging service for apps to interact correctly with the modes
(such as to be able to deliver an instant message to the device even when it is
dozing). This should be enabled if you have such services and expect apps to
correctly use them when installed on your device. Otherwise, keep this disabled
so that applications can still use their own mechanisms. -->
<bool name="config_enableAutoPowerModes">true</bool>
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">5</integer>

View file

@ -109,15 +109,6 @@
turned off and the screen off animation has been performed. -->
<bool name="config_dozeAfterScreenOff">true</bool>
<!-- Set this to true to enable the platform's auto-power-save modes like doze and
app standby. These are not enabled by default because they require a standard
cloud-to-device messaging service for apps to interact correctly with the modes
(such as to be able to deliver an instant message to the device even when it is
dozing). This should be enabled if you have such services and expect apps to
correctly use them when installed on your device. Otherwise, keep this disabled
so that applications can still use their own mechanisms. -->
<bool name="config_enableAutoPowerModes">true</bool>
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">5</integer>

View file

@ -138,7 +138,6 @@
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
<bool name="skip_restoring_network_selection">true</bool>
<bool name="config_showNavigationBar">true</bool>
<bool name="config_enableAutoPowerModes">true</bool>
<bool name="config_enableNetworkLocationOverlay">true</bool>
<bool name="config_enableFusedLocationOverlay">true</bool>
<fraction name="config_autoBrightnessAdjustmentMaxGamma">200.0%</fraction>

View file

@ -100,7 +100,6 @@
<bool name="config_showNavigationBar">true</bool>
<bool name="config_cellBroadcastAppLinks">true</bool>
<bool name="config_fillMainBuiltInDisplayCutout">false</bool>
<bool name="config_enableAutoPowerModes">true</bool>
<bool name="config_enableNetworkLocationOverlay">true</bool>
<bool name="config_enableFusedLocationOverlay">true</bool>
<integer name="config_multiuserMaximumUsers">5</integer>

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_enableAutoPowerModes">true</bool>
<integer name="config_autoPowerModeAnyMotionSensor">30</integer>
<bool name="config_wifi_dual_band_support">false</bool>
<bool name="config_wifi_fast_bss_transition_enabled">true</bool>

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_enableAutoPowerModes">true</bool>
<integer name="config_autoPowerModeAnyMotionSensor">30</integer>
<bool name="config_wifi_dual_band_support">false</bool>
<bool name="config_wifi_fast_bss_transition_enabled">true</bool>

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_enableAutoPowerModes">true</bool>
<integer name="config_autoPowerModeAnyMotionSensor">30</integer>
<bool name="config_wifi_dual_band_support">true</bool>
<bool name="config_wifi_fast_bss_transition_enabled">true</bool>

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_enableAutoPowerModes">true</bool>
<integer name="config_autoPowerModeAnyMotionSensor">30</integer>
<bool name="config_wifi_dual_band_support">true</bool>
<bool name="config_wifi_fast_bss_transition_enabled">true</bool>

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_enableAutoPowerModes">true</bool>
<integer name="config_autoPowerModeAnyMotionSensor">30</integer>
<bool name="config_wifi_dual_band_support">true</bool>
<bool name="config_wifi_fast_bss_transition_enabled">true</bool>

View file

@ -7,7 +7,6 @@
<bool name="config_displayBlanksAfterDoze">true</bool>
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
<bool name="config_dynamic_bind_ims">true</bool>
<bool name="config_enableAutoPowerModes">true</bool>
<bool name="config_enableMultiUserUI">true</bool>
<bool name="config_hotswapCapable">true</bool>
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_enableAutoPowerModes">true</bool>
<integer name="config_autoPowerModeAnyMotionSensor">30</integer>
<bool name="config_wifi_dual_band_support">true</bool>
<bool name="config_wifi_fast_bss_transition_enabled">true</bool>

View file

@ -10,7 +10,6 @@
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
<bool name="config_dozePulsePickup">true</bool>
<bool name="config_dynamic_bind_ims">true</bool>
<bool name="config_enableAutoPowerModes">true</bool>
<bool name="config_enableFusedLocationOverlay">false</bool>
<bool name="config_enableNetworkLocationOverlay">false</bool>
<bool name="config_hotswapCapable">true</bool>

View file

@ -19,7 +19,6 @@
<bool name="config_enableMultiUserUI">true</bool>
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
<bool name="config_supportAudioSourceUnprocessed">false</bool>
<bool name="config_enableAutoPowerModes">true</bool>
<bool name="config_dozeAfterScreenOff">true</bool>
<bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool>
<bool name="config_setColorTransformAccelerated">true</bool>

View file

@ -19,7 +19,6 @@
<bool name="config_enableMultiUserUI">true</bool>
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
<bool name="config_supportAudioSourceUnprocessed">false</bool>
<bool name="config_enableAutoPowerModes">true</bool>
<bool name="config_dozeAfterScreenOff">true</bool>
<bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool>
<bool name="config_setColorTransformAccelerated">true</bool>

View file

@ -100,7 +100,6 @@
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
<bool name="config_dozePulsePickup">true</bool>
<bool name="config_dynamic_bind_ims">true</bool>
<bool name="config_enableAutoPowerModes">true</bool>
<bool name="config_enableBurnInProtection">true</bool>
<bool name="config_enableFusedLocationOverlay">true</bool>
<bool name="config_enableMultiUserUI">true</bool>

View file

@ -98,7 +98,6 @@
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
<bool name="skip_restoring_network_selection">true</bool>
<bool name="config_showNavigationBar">true</bool>
<bool name="config_enableAutoPowerModes">true</bool>
<bool name="config_enableNetworkLocationOverlay">true</bool>
<bool name="config_enableFusedLocationOverlay">true</bool>
<integer name="config_screenBrightnessSettingMinimum">2</integer>

View file

@ -105,8 +105,6 @@
<item>90.0</item>
</array>
<bool name="config_enableAutoPowerModes">true</bool>
<!-- Flag indicating whether the we should enable the automatic brightness in Settings.
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
<bool name="config_automatic_brightness_available">true</bool>

View file

@ -17,14 +17,6 @@
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Set this to true to enable the platform's auto-power-save modes like doze and
app standby. These are not enabled by default because they require a standard
cloud-to-device messaging service for apps to interact correctly with the modes
(such as to be able to deliver an instant message to the device even when it is
dozing). This should be enabled if you have such services and expect apps to
correctly use them when installed on your device. Otherwise, keep this disabled
so that applications can still use their own mechanisms. -->
<bool name="config_enableAutoPowerModes">true</bool>
<!-- List of regexpressions describing the interface (if any) that represent tetherable
USB interfaces. If the device doesn't want to support tethering over USB this should
be empty. An example would be "usb.*" -->

View file

@ -206,7 +206,6 @@
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
<bool name="config_dozePulsePickup">false</bool>
<bool name="config_enableAutoPowerModes">true</bool>
<bool name="config_showNavigationBar">true</bool>
<bool name="config_switch_phone_on_voice_reg_state_change">true</bool>
<bool name="config_sustainedPerformanceModeSupported">true</bool>

View file

@ -139,7 +139,6 @@
<bool name="config_dozeAlwaysOnDisplayAvailable">false</bool>
<bool name="config_dozePulsePickup">false</bool>
<bool name="config_dynamic_bind_ims">true</bool>
<bool name="config_enableAutoPowerModes">true</bool>
<bool name="config_enableBurnInProtection">false</bool>
<bool name="config_enableFusedLocationOverlay">false</bool>
<bool name="config_enableMultiUserUI">true</bool>

View file

@ -59,7 +59,6 @@
<bool name="config_displayBlanksAfterDoze">false</bool>
<bool name="config_dozeAlwaysOnDisplayAvailable">false</bool>
<bool name="config_dynamic_bind_ims">true</bool>
<bool name="config_enableAutoPowerModes">true</bool>
<bool name="config_enableMultiUserUI">true</bool>
<string-array name="config_gpsParameters">
<item>SUPL_HOST=supl.google.com</item>

View file

@ -3,6 +3,7 @@ config_swipe_up_gesture_setting_available
config_cameraDoubleTapPowerGestureEnabled
config_doublePressOnPowerBehavior
config_dozeComponent
config_enableAutoPowerModes
config_mainBuiltInDisplayIsRound
config_swipe_up_gesture_default
config_allowAllRotations

View file

@ -35,7 +35,6 @@ config_doublePressOnPowerBehavior
config_dozeAfterScreenOffByDefault
config_dozeAlwaysOnDisplayAvailable
config_dynamic_bind_ims
config_enableAutoPowerModes
config_enableMultiUserUI
config_gpsParameters
config_hotswapCapable