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

Commit 568d8fdc authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Minor changes in ChoreographerCompat

Test: N/A
Change-Id: I2569f9b05d56caa668962d28ec818411bccdbbc5
parent fb9ec66e
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -17,10 +17,6 @@ package com.android.systemui.shared.system;

import static android.view.Choreographer.CALLBACK_INPUT;

import android.graphics.Bitmap;
import android.graphics.GraphicBuffer;
import android.os.Parcel;
import android.os.Parcelable;
import android.view.Choreographer;

/**
@@ -31,7 +27,7 @@ public class ChoreographerCompat {
    /**
     * Posts an input callback to the choreographer.
     */
    public static void postInputFrame(Runnable runnable) {
        Choreographer.getInstance().postCallback(CALLBACK_INPUT, runnable, null);
    public static void postInputFrame(Choreographer choreographer, Runnable runnable) {
        choreographer.postCallback(CALLBACK_INPUT, runnable, null);
    }
}