Merge "Switching overlays more correctly" into sc-dev
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user