Increasing wait time for navigation mode switch. am: d230af4e09
am: 4f56803bd0
Change-Id: I0dfc2072d6ea810cb023b61ac5a4e8f29786d261
This commit is contained in:
commit
7f791a868d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue