diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-05-16 20:34:24 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-05-16 20:34:24 +0000 |
commit | 4546c07805a209bd61e6b214e09641595ea9b7e3 (patch) | |
tree | 31b4a4ccd9b63dc5e7eeb6b062d48d0223ba340d | |
parent | dfd56184732a4cd9d7b9392cec0270afacb2e7a4 (diff) | |
parent | 3ce3a86eda6881421869850af53c3cffca7c62f9 (diff) | |
download | cts-android13-tests-release.tar.gz |
Merge "Snap for 11851424 from e2e59ec84199f38c2df00e8c6e3a1688f65452d1 to android13-tests-release" into android13-tests-releaseandroid13-tests-release
-rw-r--r-- | tests/tests/permission3/src/android/permission3/cts/PermissionTest23.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tests/permission3/src/android/permission3/cts/PermissionTest23.kt b/tests/tests/permission3/src/android/permission3/cts/PermissionTest23.kt index f9c449634e2..e6788a4305b 100644 --- a/tests/tests/permission3/src/android/permission3/cts/PermissionTest23.kt +++ b/tests/tests/permission3/src/android/permission3/cts/PermissionTest23.kt @@ -112,6 +112,9 @@ class PermissionTest23 : BaseUsePermissionTest() { clickPermissionRequestAllowButton() } + // Wait for PermissionController's LiveData to catch up + Thread.sleep(5_000) + // Request the permission and do nothing // Expect the permission is granted requestAppPermissionsAndAssertResult(android.Manifest.permission.WRITE_CONTACTS to true) {} |