Merge "Disable fling on layout update after programmatic shade collapse" into udc-qpr-dev
This commit is contained in:
@@ -1822,6 +1822,7 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump
|
|||||||
|
|
||||||
// Set after notifyExpandingStarted, as notifyExpandingStarted resets the closing state.
|
// Set after notifyExpandingStarted, as notifyExpandingStarted resets the closing state.
|
||||||
setClosing(true);
|
setClosing(true);
|
||||||
|
mUpdateFlingOnLayout = false;
|
||||||
if (delayed) {
|
if (delayed) {
|
||||||
mNextCollapseSpeedUpFactor = speedUpFactor;
|
mNextCollapseSpeedUpFactor = speedUpFactor;
|
||||||
this.mView.postDelayed(mFlingCollapseRunnable, 120);
|
this.mView.postDelayed(mFlingCollapseRunnable, 120);
|
||||||
|
|||||||
Reference in New Issue
Block a user