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:
parent
6a443bca6f
commit
7fcfdd2964
1 changed files with 17 additions and 0 deletions
|
@ -1133,4 +1133,21 @@
|
||||||
|
|
||||||
<!-- Flag indicating whether we should enable the adaptive sleep.-->
|
<!-- Flag indicating whether we should enable the adaptive sleep.-->
|
||||||
<bool name="config_adaptive_sleep_available">true</bool>
|
<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>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue