Increasing wait time for navigation mode switch. am: d230af4e09

am: 4f56803bd0

Change-Id: I0dfc2072d6ea810cb023b61ac5a4e8f29786d261
This commit is contained in:
vadimt 2019-10-04 18:10:56 -07:00 committed by android-build-merger
commit 7f791a868d
1 changed files with 1 additions and 1 deletions

View File

@ -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,