Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d230af4e authored by vadimt's avatar vadimt
Browse files

Increasing wait time for navigation mode switch.

Sometimes this fails in Cuttlefish.

Change-Id: Ifa2ffed5165625d51441fc3b203185fc55f7d53f
parent c3a4819b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,