From 0af56b4b7b51be7704695c17c3cd84bb3adf41fc Mon Sep 17 00:00:00 2001 From: Neha Pattan Date: Fri, 7 Jan 2022 17:37:17 +0000 Subject: [PATCH] (1/2) Placeholder for permissions that need to be declared for SupplementalApis. Bug: 213488783 Test: mmm -j frameworks/base Change-Id: I418461f65a976946d7d87248bc8212c14df9ae61 --- core/api/current.txt | 1 + core/res/AndroidManifest.xml | 12 ++++++++++++ core/res/res/values/strings.xml | 7 ++++++- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/core/api/current.txt b/core/api/current.txt index 154c42f1565f4..6cdbafe661eb2 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -17,6 +17,7 @@ package android { field public static final String ACCESS_MEDIA_LOCATION = "android.permission.ACCESS_MEDIA_LOCATION"; field public static final String ACCESS_NETWORK_STATE = "android.permission.ACCESS_NETWORK_STATE"; field public static final String ACCESS_NOTIFICATION_POLICY = "android.permission.ACCESS_NOTIFICATION_POLICY"; + field public static final String ACCESS_SUPPLEMENTAL_APIS = "android.permission.ACCESS_SUPPLEMENTAL_APIS"; field public static final String ACCESS_WIFI_STATE = "android.permission.ACCESS_WIFI_STATE"; field public static final String ACCOUNT_MANAGER = "android.permission.ACCOUNT_MANAGER"; field public static final String ACTIVITY_RECOGNITION = "android.permission.ACTIVITY_RECOGNITION"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 4c367326b6700..7104be86f9417 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -3569,6 +3569,18 @@ + + + + + + + + + diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml index 769e667a2b257..6c03bc6e64569 100644 --- a/core/res/res/values/strings.xml +++ b/core/res/res/values/strings.xml @@ -4038,11 +4038,16 @@ Allows an app to ask for permission to ignore battery optimizations for that app. - + query all packages Allows an app to see all installed packages. + + access SupplementalApis + + Allows an application to access SupplementalApis. + Tap twice for zoom control