Merge "Add getter for ExpectedRotationCheckEnabled" into main

This commit is contained in:
Pablo Gamito
2023-09-21 22:57:17 +00:00
committed by Android (Google) Code Review

View File

@@ -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();