summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hongwei Wang <hwwang@google.com> 2020-12-10 01:56:49 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-12-10 01:56:49 +0000
commit4735349d9ad8f57205e354e7979204964880176c (patch)
tree0f39e5991f54a56e98206ba6a7cae369303b269b
parentfb39e67a44fb95e8513762f35ba2171a57837911 (diff)
parent01067569c51d36f150a3523dd70953afd69a0c2b (diff)
Merge "Add ROTATE_SURFACE_FLINGER permission"
-rw-r--r--core/api/system-current.txt1
-rw-r--r--core/res/AndroidManifest.xml8
2 files changed, 9 insertions, 0 deletions
diff --git a/core/api/system-current.txt b/core/api/system-current.txt
index 1d717262fa6d..e1d74fb789f8 100644
--- a/core/api/system-current.txt
+++ b/core/api/system-current.txt
@@ -210,6 +210,7 @@ package android {
field public static final String RETRIEVE_WINDOW_CONTENT = "android.permission.RETRIEVE_WINDOW_CONTENT";
field public static final String REVIEW_ACCESSIBILITY_SERVICES = "android.permission.REVIEW_ACCESSIBILITY_SERVICES";
field public static final String REVOKE_RUNTIME_PERMISSIONS = "android.permission.REVOKE_RUNTIME_PERMISSIONS";
+ field public static final String ROTATE_SURFACE_FLINGER = "android.permission.ROTATE_SURFACE_FLINGER";
field public static final String SCORE_NETWORKS = "android.permission.SCORE_NETWORKS";
field public static final String SECURE_ELEMENT_PRIVILEGED_OPERATION = "android.permission.SECURE_ELEMENT_PRIVILEGED_OPERATION";
field public static final String SEND_CATEGORY_CAR_NOTIFICATIONS = "android.permission.SEND_CATEGORY_CAR_NOTIFICATIONS";
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 849ab0a4c380..06b6578c42fb 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -3960,6 +3960,14 @@
<permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
android:protectionLevel="signature" />
+ <!-- @SystemApi Allows an application to rotate a surface by arbitrary degree.
+ This is a sub-feature of ACCESS_SURFACE_FLINGER and can be granted in a more concrete way.
+ <p>Not for use by third-party applications.
+ @hide
+ -->
+ <permission android:name="android.permission.ROTATE_SURFACE_FLINGER"
+ android:protectionLevel="signature|recents" />
+
<!-- Allows an application to take screen shots and more generally
get access to the frame buffer data.
<p>Not for use by third-party applications.