Only enable overlay exclusively in category

Test: presubmit
Bug: 180114721
Change-Id: I2ae16ba3237b8e29d3d93ce8b29ad37849d8e7c3
This commit is contained in:
Winson Chung
2021-02-12 10:25:06 -08:00
parent 09e67dd881
commit 0736a0218f

View File

@@ -89,7 +89,7 @@ public class WindowPerfRunPreconditionBase extends RunListener {
navOverlay = WindowManagerPolicyConstants.NAV_BAR_MODE_GESTURAL_OVERLAY;
break;
}
executeShellCommand("cmd overlay enable-exclusive " + navOverlay);
executeShellCommand("cmd overlay enable-exclusive --category " + navOverlay);
});
/** It only executes once before all tests. */