AutoRevokeTest: do click on "Allow" button With the new Permissions UI on the Wear devices, we do need to click on the "Allow" button to move forward. Bug: 191714856 Test: atest android.os.cts.AutoRevokeTest#testInstallGrants_notRevokedImmediately Change-Id: I9e8377630c681e2bbdd3a9807341f5334eb55428
diff --git a/tests/tests/os/src/android/os/cts/AutoRevokeTest.kt b/tests/tests/os/src/android/os/cts/AutoRevokeTest.kt index 659063b..e2703c9 100644 --- a/tests/tests/os/src/android/os/cts/AutoRevokeTest.kt +++ b/tests/tests/os/src/android/os/cts/AutoRevokeTest.kt
@@ -311,10 +311,7 @@ // Setup goToPermissions() click("Calendar") - // Wear OS uses a switch and does not display a dialog - if (!hasFeatureWatch()) { - click("Allow") - } + click("Allow") goBack() goBack() goBack()