Helper: Added screen rotation support check
Extend Helper.isRotationSupported() with function
isScreenRotationSupported which gets the value of
config_forceDefaultOrientation. Returns true if
screen rotation is supported, false otherwise.
Skip tests which rely on rotation changes.
Test: run cts-dev -m CtsAutoFillServiceTestCases \
-t android.autofillservice.cts.DuplicateIdActivityTest#testDoNotRestoreDuplicateAutofillIds
run cts-dev -m CtsAutoFillServiceTestCases \
-t android.autofillservice.cts.SessionLifecycleTest#testDatasetAuthResponseWhileAutofilledAppIsLifecycled
run cts-dev -m CtsAutoFillServiceTestCases \
-t android.autofillservice.cts.SimpleSaveActivityTest#testSave_afterRotation
run cts-dev -m CtsAutoFillServiceTestCases \
-t android.autofillservice.cts.CustomDescriptionWithLinkTestCase.testTapLink_changeOrientationThenTapBack
Bug: 111622428
Change-Id: I5c12229ee6b30454386a2064dc5ceea4dfd7c003
Signed-off-by: Artem Radchenko <artem.radchenko@globallogic.com>
1 file changed