Merge "Disable fling on layout update after programmatic shade collapse" into udc-qpr-dev

This commit is contained in:
Shawn Lee
2023-06-22 21:17:17 +00:00
committed by Android (Google) Code Review

View File

@@ -1822,6 +1822,7 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump
// Set after notifyExpandingStarted, as notifyExpandingStarted resets the closing state.
setClosing(true);
mUpdateFlingOnLayout = false;
if (delayed) {
mNextCollapseSpeedUpFactor = speedUpFactor;
this.mView.postDelayed(mFlingCollapseRunnable, 120);