Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6faeaa2a authored by Steven Thomas's avatar Steven Thomas
Browse files

Add acquireFrameRateFlexibilityToken permission comment

Add a comment explaining the permissions necessary for a successful call
to acquireFrameRateFlexibilityToken(). This is feedback from a
previously submitted CL.

Change-Id: Id316e6943153c20a06d90af844605851591e225c
Bug: 148033900
Test: n/a
parent cf7b6378
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2876,7 +2876,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