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

Commit 869b8106 authored by Pascal Mütschard's avatar Pascal Mütschard Committed by Android (Google) Code Review
Browse files

Merge "Mark SfVsyncFrameCallbackProvider as deprecated." into main

parents b1bbae97 6874dc63
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -372,8 +372,10 @@ public final class Choreographer {

    /**
     * @hide
     * @deprecated Use vsync IDs with the regular Choreographer instead.
     */
    @UnsupportedAppUsage
    @Deprecated
    public static Choreographer getSfInstance() {
        return sSfThreadInstance.get();
    }
+3 −1
Original line number Diff line number Diff line
@@ -23,8 +23,10 @@ import android.view.Choreographer;
 * Provider of timing pulse that uses SurfaceFlinger Vsync Choreographer for frame callbacks.
 *
 * @hide
 * @deprecated See b/222698397 - use vsync IDs instead.
 */
// TODO(b/222698397): remove getSfInstance/this class usage and use vsyncId for transactions
@Deprecated
public final class SfVsyncFrameCallbackProvider implements AnimationFrameCallbackProvider {

    private final Choreographer mChoreographer;