mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Increasing wait time for navigation mode switch.
Sometimes this fails in Cuttlefish. Change-Id: Ifa2ffed5165625d51441fc3b203185fc55f7d53f
This commit is contained in:
@@ -181,7 +181,7 @@ public class NavigationModeSwitchRule implements TestRule {
|
||||
SysUINavigationMode.INSTANCE.get(targetContext);
|
||||
targetContext.getMainExecutor().execute(() ->
|
||||
sysUINavigationMode.addModeChangeListener(listener));
|
||||
latch.await(10, TimeUnit.SECONDS);
|
||||
latch.await(60, TimeUnit.SECONDS);
|
||||
targetContext.getMainExecutor().execute(() ->
|
||||
sysUINavigationMode.removeModeChangeListener(listener));
|
||||
assertTrue("Navigation mode didn't change to " + expectedMode,
|
||||
|
||||
Reference in New Issue
Block a user