summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/cts/permission/src/android/permission/cts/RevokePermissionTest.kt19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/cts/permission/src/android/permission/cts/RevokePermissionTest.kt b/tests/cts/permission/src/android/permission/cts/RevokePermissionTest.kt
index c67707f5f..579b03f9c 100644
--- a/tests/cts/permission/src/android/permission/cts/RevokePermissionTest.kt
+++ b/tests/cts/permission/src/android/permission/cts/RevokePermissionTest.kt
@@ -50,15 +50,6 @@ class RevokePermissionTest {
@Test
@AppModeFull(reason = "Instant apps can't revoke permissions.")
- fun testRevokePermissionNotRequested() {
- testRevoke(
- packageName = APP_PKG_NAME,
- permission = CAMERA
- )
- }
-
- @Test
- @AppModeFull(reason = "Instant apps can't revoke permissions.")
fun testRevokeFakePermission() {
val fakePermissionName = "FAKE_PERMISSION"
testRevoke(
@@ -94,16 +85,6 @@ class RevokePermissionTest {
@Test
@AppModeFull(reason = "Instant apps can't revoke permissions.")
- fun testRevokePermissionNotRequestedWithReason() {
- testRevoke(
- packageName = APP_PKG_NAME,
- permission = CAMERA,
- reason = "test reason"
- )
- }
-
- @Test
- @AppModeFull(reason = "Instant apps can't revoke permissions.")
fun testRevokeFakePermissionWithReason() {
val fakePermissionName = "FAKE_PERMISSION"
testRevoke(