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

Commit a9740ecc authored by vadimt's avatar vadimt Committed by Winson Chung
Browse files

Switching overlays more correctly

Test: presubmit
Bug: 180114721
Change-Id: I0d8d0c70ef34ec941e28704d06f9df5f17782155
parent b0bff050
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -168,7 +168,7 @@ public class NavigationModeSwitchRule implements TestRule {

        Log.d(TAG, "setActiveOverlay: " + overlayPackage + "...");
        UiDevice.getInstance(getInstrumentation()).executeShellCommand(
                "cmd overlay enable-exclusive " + overlayPackage);
                "cmd overlay enable-exclusive --category " + overlayPackage);

        if (currentSysUiNavigationMode() != expectedMode) {
            final CountDownLatch latch = new CountDownLatch(1);