mirror of
https://github.com/yurisieucuti/treble_evolution.git
synced 2024-11-28 02:24:31 +00:00
36 lines
1.4 KiB
Diff
36 lines
1.4 KiB
Diff
From 3c07e6dfdc94e725dc87507afee240a4c54607f5 Mon Sep 17 00:00:00 2001
|
|
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
|
Date: Sat, 4 Sep 2021 08:26:30 +0000
|
|
Subject: [PATCH 24/51] Revert "Switch long-press power behavior in AOSP."
|
|
|
|
This reverts commit 803c77a0a24624111944832098c6f65158051dc4.
|
|
---
|
|
core/res/res/values/config.xml | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
|
|
index bf8e55fd986f..a6cbcc9e1f33 100644
|
|
--- a/core/res/res/values/config.xml
|
|
+++ b/core/res/res/values/config.xml
|
|
@@ -1130,7 +1130,7 @@
|
|
4 - Go to voice assist
|
|
5 - Go to assistant (Settings.Secure.ASSISTANT)
|
|
-->
|
|
- <integer name="config_longPressOnPowerBehavior">5</integer>
|
|
+ <integer name="config_longPressOnPowerBehavior">1</integer>
|
|
|
|
<!-- The time in milliseconds after which a press on power button is considered "long". -->
|
|
<integer name="config_longPressOnPowerDurationMs">500</integer>
|
|
@@ -1162,7 +1162,7 @@
|
|
1 - Mute toggle
|
|
2 - Global actions menu
|
|
-->
|
|
- <integer name="config_keyChordPowerVolumeUp">2</integer>
|
|
+ <integer name="config_keyChordPowerVolumeUp">1</integer>
|
|
|
|
<!-- Control the behavior when the user long presses the back button. Non-zero values are only
|
|
valid for watches as part of CDD/CTS.
|
|
--
|
|
2.25.1
|
|
|