DO NOT MERGE Temporary fix for race condition.

Bug: 303078360
Test: Manual

Change-Id: I7355e3b64424492b6fab4f416014d2a9a797973d
This commit is contained in:
Andreas Agvard
2023-10-06 20:57:38 +02:00
committed by Winson Chung
parent bf4a08acef
commit 928e0521b2

View File

@@ -54,7 +54,7 @@ public class NavHandleLongPressInputConsumer extends DelegateInputConsumer {
if (longPressRunnable != null) {
setActive(motionEvent);
MAIN_EXECUTOR.post(longPressRunnable);
MAIN_EXECUTOR.getHandler().postDelayed(longPressRunnable, 50);
}
}
}