CTS test to ensure rotation suggestion button is enabled for SUW
Bug: 204945507
Test: StatusBarManagerTest + Presubmit
Change-Id: Ief6f05a1f825f93421f11884b0842903cd588151
diff --git a/tests/app/src/android/app/cts/StatusBarManagerTest.java b/tests/app/src/android/app/cts/StatusBarManagerTest.java
index 9995099..121b5cc 100644
--- a/tests/app/src/android/app/cts/StatusBarManagerTest.java
+++ b/tests/app/src/android/app/cts/StatusBarManagerTest.java
@@ -18,6 +18,7 @@
import static androidx.test.InstrumentationRegistry.getInstrumentation;
+import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assume.assumeFalse;
@@ -94,6 +95,7 @@
assertTrue(info.isStatusBarExpansionDisabled());
assertTrue(info.isRecentsDisabled());
assertTrue(info.isSearchDisabled());
+ assertFalse(info.isRotationSuggestionDisabled());
}
/**