Set the default screenshot delay to 0ms
Bug: 165267251
Test: manual -- ensured that the time needed to hold is 0ms if the
screenshot_keychord_delay debug value is not set, and that the
delay can still be changed using
adb shell device_config put systemui screenshot_keychord_delay <ms>
Change-Id: Iab989ecf14ef379658130adbced241e084554e63
Merged-In: Iab989ecf14ef379658130adbced241e084554e63
(cherry picked from commit bf82822698)
This commit is contained in:
committed by
Alison Cichowlas
parent
4db6ccaaa3
commit
c632e0f8df
@@ -99,7 +99,7 @@ public class ViewConfiguration {
|
||||
* Defines the duration in milliseconds a user needs to hold down the
|
||||
* appropriate buttons (power + volume down) to trigger the screenshot chord.
|
||||
*/
|
||||
private static final int SCREENSHOT_CHORD_KEY_TIMEOUT = 500;
|
||||
private static final int SCREENSHOT_CHORD_KEY_TIMEOUT = 0;
|
||||
|
||||
/**
|
||||
* Defines the duration in milliseconds a user needs to hold down the
|
||||
|
||||
@@ -2256,7 +2256,7 @@
|
||||
|
||||
<!-- Amount of time in ms the user needs to press the relevant keys to trigger the
|
||||
screenshot chord -->
|
||||
<integer name="config_screenshotChordKeyTimeout">500</integer>
|
||||
<integer name="config_screenshotChordKeyTimeout">0</integer>
|
||||
|
||||
<!-- Default width of a vertical scrollbar and height of a horizontal scrollbar.
|
||||
Takes effect only if the scrollbar drawables have no intrinsic size. -->
|
||||
|
||||
Reference in New Issue
Block a user