Set config_suspendWhenScreenOffDueToProximity true am: 9b66e0f8e3 am: b3f17a0e4d am: fada188e88
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15152141 Change-Id: I62c0ab2e74d7ebe864442453c63520063ad8f12f
This commit is contained in:
commit
42427d4d3f
2 changed files with 14 additions and 0 deletions
|
@ -18,6 +18,13 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||||
|
<!-- Indicate whether to allow the device to suspend when the screen is off
|
||||||
|
due to the proximity sensor. This resource should only be set to true
|
||||||
|
if the sensor HAL correctly handles the proximity sensor as a wake-up source.
|
||||||
|
Otherwise, the device may fail to wake out of suspend reliably.
|
||||||
|
The default is false. -->
|
||||||
|
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
|
||||||
|
|
||||||
<!-- Flag indicating whether the we should enable the automatic brightness in Settings.
|
<!-- 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 -->
|
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
|
||||||
<bool name="config_automatic_brightness_available">true</bool>
|
<bool name="config_automatic_brightness_available">true</bool>
|
||||||
|
|
|
@ -54,6 +54,13 @@
|
||||||
<!-- Type of the quick pickup sensor. Empty if quick pickup is not supported. -->
|
<!-- Type of the quick pickup sensor. Empty if quick pickup is not supported. -->
|
||||||
<string name="config_quickPickupSensorType" translatable="false">com.google.sensor.quick_pickup</string>
|
<string name="config_quickPickupSensorType" translatable="false">com.google.sensor.quick_pickup</string>
|
||||||
|
|
||||||
|
<!-- Indicate whether to allow the device to suspend when the screen is off
|
||||||
|
due to the proximity sensor. This resource should only be set to true
|
||||||
|
if the sensor HAL correctly handles the proximity sensor as a wake-up source.
|
||||||
|
Otherwise, the device may fail to wake out of suspend reliably.
|
||||||
|
The default is false. -->
|
||||||
|
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
|
||||||
|
|
||||||
<!-- Flag indicating whether the we should enable the automatic brightness in Settings.
|
<!-- 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 -->
|
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
|
||||||
<bool name="config_automatic_brightness_available">true</bool>
|
<bool name="config_automatic_brightness_available">true</bool>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue