Add getter for ExpectedRotationCheckEnabled
Used by flicker to disable and then reset this value when performing certain actions that require ExpectedRotationCheckEnabled to be false but then we want to restore to the initial value. Bug: 300065764 Test: n/a Change-Id: I650e15b206984b5fd7a2313fb63308e4c551c30a
This commit is contained in:
@@ -721,6 +721,10 @@ public final class LauncherInstrumentation {
|
||||
mExpectedRotationCheckEnabled = expectedRotationCheckEnabled;
|
||||
}
|
||||
|
||||
public boolean getExpectedRotationCheckEnabled() {
|
||||
return mExpectedRotationCheckEnabled;
|
||||
}
|
||||
|
||||
public String getNavigationModeMismatchError(boolean waitForCorrectState) {
|
||||
final int waitTime = waitForCorrectState ? WAIT_TIME_MS : 0;
|
||||
final NavigationModel navigationModel = getNavigationModel();
|
||||
|
||||
Reference in New Issue
Block a user