summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
author Yi-an Chen <theianchen@google.com> 2025-03-11 21:03:14 +0000
committer Yi-an Chen <theianchen@google.com> 2025-03-11 14:22:28 -0700
commitcf0e0b78e030abdf487577571eb9b37aee3bfe48 (patch)
treee38d4160a030ecea123f95c961e0c7fa9d24f48a /tests
parent0ded03d903dcdab0ff23485e7252f4ee3696365c (diff)
Replace allowPrivateProfile flag with sdk version check
b/398830041 currently impacts flag value matching for mainline module on V platform. According to trunk stable team, these flag checks can be replaced with sdk version check. Hence removing the flag checks in this CL Bug: 396234389 Test: Build Flag: EXEMPT bugfix Relnote: N/A Change-Id: Id351f1516d9db763e8d765da552d4da2182300b9
Diffstat (limited to 'tests')
-rw-r--r--tests/cts/role/src/android/app/role/cts/RoleManagerTest.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/cts/role/src/android/app/role/cts/RoleManagerTest.java b/tests/cts/role/src/android/app/role/cts/RoleManagerTest.java
index 3bc3ff12b..e15614be2 100644
--- a/tests/cts/role/src/android/app/role/cts/RoleManagerTest.java
+++ b/tests/cts/role/src/android/app/role/cts/RoleManagerTest.java
@@ -878,7 +878,6 @@ public class RoleManagerTest {
}
@Test
- @RequiresFlagsEnabled(android.os.Flags.FLAG_ALLOW_PRIVATE_PROFILE)
@EnsureHasPrivateProfile(installInstrumentedApp = OptionalBoolean.TRUE)
@SdkSuppress(minSdkVersion = Build.VERSION_CODES.VANILLA_ICE_CREAM,
codeName = "VanillaIceCream")