Merge "Fix bug where app icon is gone for first frame on cold start." into sc-dev

This commit is contained in:
Jonathan Miranda
2021-07-01 18:34:47 +00:00
committed by Android (Google) Code Review

View File

@@ -725,7 +725,8 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
floatingIconBounds.bottom += offsetY;
if (initOnly) {
floatingView.update(mIconAlpha.value, 255, floatingIconBounds, percent, 0f,
// For the init pass, we want full alpha since the window is not yet ready.
floatingView.update(1f, 255, floatingIconBounds, percent, 0f,
mWindowRadius.value * scale, true /* isOpening */);
return;
}