Add WAKEUP_SURFACE_FLINGER permission
Add a new permission so sysui and launcher can provide a hint to SurfaceFlinger to wake up earlier via eEarlyWakeupStart & eEarlyWakeupEnd transaction flags. The flags can be used to indicate the composition is likely to be expensive (blur, corners, etc). Test: presubmit Fixes: 261103978 Change-Id: I80ef9cb0e3251f28db251953fc30d36c30818c53
This commit is contained in:
@@ -352,6 +352,7 @@ package android {
|
||||
field public static final String USE_COLORIZED_NOTIFICATIONS = "android.permission.USE_COLORIZED_NOTIFICATIONS";
|
||||
field public static final String USE_RESERVED_DISK = "android.permission.USE_RESERVED_DISK";
|
||||
field public static final String UWB_PRIVILEGED = "android.permission.UWB_PRIVILEGED";
|
||||
field public static final String WAKEUP_SURFACE_FLINGER = "android.permission.WAKEUP_SURFACE_FLINGER";
|
||||
field public static final String WHITELIST_AUTO_REVOKE_PERMISSIONS = "android.permission.WHITELIST_AUTO_REVOKE_PERMISSIONS";
|
||||
field public static final String WHITELIST_RESTRICTED_PERMISSIONS = "android.permission.WHITELIST_RESTRICTED_PERMISSIONS";
|
||||
field public static final String WIFI_ACCESS_COEX_UNSAFE_CHANNELS = "android.permission.WIFI_ACCESS_COEX_UNSAFE_CHANNELS";
|
||||
|
||||
@@ -4941,6 +4941,15 @@
|
||||
<permission android:name="android.permission.ROTATE_SURFACE_FLINGER"
|
||||
android:protectionLevel="signature|recents" />
|
||||
|
||||
<!-- @SystemApi Allows an application to provide hints to SurfaceFlinger that can influence
|
||||
its wakes up time to compose the next frame. This is a subset of the capabilities granted
|
||||
by {@link #ACCESS_SURFACE_FLINGER}.
|
||||
<p>Not for use by third-party applications.
|
||||
@hide
|
||||
-->
|
||||
<permission android:name="android.permission.WAKEUP_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.
|
||||
|
||||
@@ -21,5 +21,6 @@
|
||||
<uses-permission android:name="android.permission.CAPTURE_BLACKOUT_CONTENT" />
|
||||
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
|
||||
<uses-permission android:name="android.permission.ROTATE_SURFACE_FLINGER" />
|
||||
<uses-permission android:name="android.permission.WAKEUP_SURFACE_FLINGER" />
|
||||
<uses-permission android:name="android.permission.READ_FRAME_BUFFER" />
|
||||
</manifest>
|
||||
|
||||
Reference in New Issue
Block a user