Merge "Merge "Set alpha to 0 on attach to avoid flicker at transition start." into udc-dev am: dc472531b8 am: bdb153f5ad am: 2900187577" into udc-qpr-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
e3949d4267
@@ -206,6 +206,7 @@ public abstract class PipContentOverlay {
|
||||
tx.show(mLeash);
|
||||
tx.setLayer(mLeash, Integer.MAX_VALUE);
|
||||
tx.setBuffer(mLeash, mBitmap.getHardwareBuffer());
|
||||
tx.setAlpha(mLeash, 0f);
|
||||
tx.reparent(mLeash, parentLeash);
|
||||
tx.apply();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user