diff options
| -rw-r--r-- | core/api/system-current.txt | 1 | ||||
| -rw-r--r-- | core/res/AndroidManifest.xml | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/core/api/system-current.txt b/core/api/system-current.txt index 6a5d07b95974..12343d832fdc 100644 --- a/core/api/system-current.txt +++ b/core/api/system-current.txt @@ -261,6 +261,7 @@ package android { field public static final String PROVIDE_RESOLVER_RANKER_SERVICE = "android.permission.PROVIDE_RESOLVER_RANKER_SERVICE"; field public static final String PROVIDE_TRUST_AGENT = "android.permission.PROVIDE_TRUST_AGENT"; field public static final String PROVISION_DEMO_DEVICE = "android.permission.PROVISION_DEMO_DEVICE"; + field @FlaggedApi("android.content.pm.quarantined_enabled") public static final String QUARANTINE_APPS = "android.permission.QUARANTINE_APPS"; field public static final String QUERY_ADMIN_POLICY = "android.permission.QUERY_ADMIN_POLICY"; field public static final String QUERY_CLONED_APPS = "android.permission.QUERY_CLONED_APPS"; field @Deprecated public static final String QUERY_TIME_ZONE_RULES = "android.permission.QUERY_TIME_ZONE_RULES"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index c75f99616f5b..ec302e7f0147 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -2358,6 +2358,15 @@ <permission android:name="android.permission.SUSPEND_APPS" android:protectionLevel="signature|role" /> + <!-- @SystemApi + @hide + @FlaggedApi("android.content.pm.quarantined_enabled") + Allows an application to quarantine other apps, which will prevent + them from running without explicit user action. + --> + <permission android:name="android.permission.QUARANTINE_APPS" + android:protectionLevel="internal|verifier" /> + <!-- Allows applications to discover and pair bluetooth devices. <p>Protection level: normal --> |