sdm660-common: overlay: Use Power button to access power menu

* by default it uses power + vol up for accessing power menu

Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
yukiscape 2021-10-07 05:37:56 +06:00 committed by pix106
parent 6a443bca6f
commit 7fcfdd2964

View file

@ -1133,4 +1133,21 @@
<!-- Flag indicating whether we should enable the adaptive sleep.-->
<bool name="config_adaptive_sleep_available">true</bool>
<!-- Control the behavior when the user long presses the power button.
0 - Nothing
1 - Global actions menu
2 - Power off (with confirmation)
3 - Power off (without confirmation)
4 - Go to voice assist
5 - Go to assistant (Settings.Secure.ASSISTANT)
-->
<integer name="config_longPressOnPowerBehavior">1</integer>
<!-- Control the behavior when the user presses the power and volume up buttons together.
0 - Nothing
1 - Mute toggle
2 - Global actions menu
-->
<integer name="config_keyChordPowerVolumeUp">1</integer>
</resources>