Merge "Increase threshold for ESOS power button press detection" into tm-qpr-dev am: a685426ead

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20653809

Change-Id: I512bd65d205472bc966fe6a1dfcc8af120805f91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Fan Zhang
2022-12-16 17:22:45 +00:00
committed by Automerger Merge Worker

View File

@@ -79,7 +79,7 @@ public class GestureLauncherService extends SystemService {
* completed faster than this, we assume it's not performed by human and the * completed faster than this, we assume it's not performed by human and the
* event gets ignored. * event gets ignored.
*/ */
@VisibleForTesting static final int EMERGENCY_GESTURE_TAP_DETECTION_MIN_TIME_MS = 160; @VisibleForTesting static final int EMERGENCY_GESTURE_TAP_DETECTION_MIN_TIME_MS = 200;
/** /**
* Interval in milliseconds in which the power button must be depressed in succession to be * Interval in milliseconds in which the power button must be depressed in succession to be