Merge "Use double tap timeout from ViewConfiguration" into udc-dev am: b1b2a82e14

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

Change-Id: Iaeb0242a1b9ea137ed544d439bc28d37b4186531
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Hongwei Wang
2023-06-02 00:15:35 +00:00
committed by Automerger Merge Worker

View File

@@ -37,7 +37,7 @@ public class PipTouchState {
private static final boolean DEBUG = false;
@VisibleForTesting
public static final long DOUBLE_TAP_TIMEOUT = 200;
public static final long DOUBLE_TAP_TIMEOUT = ViewConfiguration.getDoubleTapTimeout();
static final long HOVER_EXIT_TIMEOUT = 50;
private final ShellExecutor mMainExecutor;