Browse Source

sm8450-common: overlay: Enable config_dozeAfterScreenOffByDefault

Remove non-existing config_dozeAfterScreenOff

Change-Id: I9c961b2971b8deb9205bec598598d96100069cd3
Arian 2 years ago
parent
commit
07ad29a5c3

+ 0 - 1
overlay/FrameworksResCommon_Sys/res/values/bools.xml

@@ -6,7 +6,6 @@
 <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
     <bool name="config_bluetooth_hfp_inband_ringing_support">true</bool>
     <bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
-    <bool name="config_dozeAfterScreenOff">true</bool>
     <bool name="config_wifi_background_scan_support">true</bool>
     <bool name="config_wifi_batched_scan_supported">true</bool>
     <bool name="config_wifi_connected_mac_randomization_supported">true</bool>

+ 4 - 0
overlay/FrameworksResCommon_Sys/res/values/config.xml

@@ -192,6 +192,10 @@
          Doze dreams will run whenever the power manager is in a dozing state. -->
     <string name="config_dozeComponent" translatable="false">com.android.systemui/com.android.systemui.doze.DozeService</string>
 
+    <!-- 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_dozeAfterScreenOffByDefault">true</bool>
+
     <!-- Power Management: Specifies whether to decouple the interactive state of the
          device from the display on/off state.