Add setOpaque to TransactionCompat

So launcher can notify when to stop blurring

Bug: 187703092
Test: manual
Change-Id: I0e0c6ff89a44a2be801d0af36e0123399d4a7fbb
This commit is contained in:
Lucas Dupin
2021-05-18 20:11:03 -07:00
parent 1c59631852
commit 9fa272ea29

View File

@@ -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);