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

Commit 76a16cf5 authored by Alec Mouri's avatar Alec Mouri Committed by Android (Google) Code Review
Browse files

Merge "Document DisplayManager atomicity with AChoreographer" into sc-dev

parents 4ab66f46 7015fa97
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -127,6 +127,10 @@ void AChoreographer_postFrameCallbackDelayed64(AChoreographer* choreographer,
 * to listen directly to DisplayManager.DisplayListener#onDisplayChanged events
 * to listen directly to DisplayManager.DisplayListener#onDisplayChanged events
 * instead.
 * instead.
 *
 *
 * As of API level 31, this api is guaranteed to have a consistent view with DisplayManager;
 * Display#getRefreshRate is guaranteed to not return a stale refresh rate when invoked from this
 * callback.
 *
 * Available since API level 30.
 * Available since API level 30.
 */
 */
void AChoreographer_registerRefreshRateCallback(AChoreographer* choreographer,
void AChoreographer_registerRefreshRateCallback(AChoreographer* choreographer,