Merge "Add acquireFrameRateFlexibilityToken permission comment" into rvc-dev am: 288c434f34 am: c9af9ec01f am: 40493ddb4d

Change-Id: I4a021814d4eeed6a439f7c6aeae7fdeb6c77909b
This commit is contained in:
Steven Thomas
2020-04-09 01:48:19 +00:00
committed by Automerger Merge Worker

View File

@@ -2888,7 +2888,8 @@ public final class SurfaceControl implements Parcelable {
/**
* Acquire a frame rate flexibility token, which allows surface flinger to freely switch display
* frame rates. This is used by CTS tests to put the device in a consistent state. See
* ISurfaceComposer::acquireFrameRateFlexibilityToken().
* ISurfaceComposer::acquireFrameRateFlexibilityToken(). The caller must have the
* ACCESS_SURFACE_FLINGER permission, or else the call will fail, returning 0.
* @hide
*/
@TestApi