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

Commit 7a9a236b authored by Lucas Dupin's avatar Lucas Dupin Committed by Android (Google) Code Review
Browse files

Merge "Add setOpaque to TransactionCompat" into sc-dev

parents 131ed898 9fa272ea
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -65,6 +65,11 @@ public class TransactionCompat {
        return this;
    }

    public TransactionCompat setOpaque(SurfaceControlCompat surfaceControl, boolean opaque) {
        mTransaction.setOpaque(surfaceControl.mSurfaceControl, opaque);
        return this;
    }

    public TransactionCompat setMatrix(SurfaceControlCompat surfaceControl, float dsdx, float dtdx,
            float dtdy, float dsdy) {
        mTransaction.setMatrix(surfaceControl.mSurfaceControl, dsdx, dtdx, dtdy, dsdy);