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:
Automerger Merge Worker
2023-05-16 21:13:05 +00:00
committed by Android (Google) Code Review

View File

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