Merge "Switching overlays more correctly" into sc-dev

This commit is contained in:
Vadim Tryshev authored and Android (Google) Code Review committed 2021-02-17 03:20:55 +00:00
commit b6d28e885d
1 file changed
+1 -1
@@ -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);