Loading packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java +7 −1 Original line number Original line Diff line number Diff line Loading @@ -3556,7 +3556,13 @@ public final class NotificationPanelViewController implements Dumpable { : (mKeyguardStateController.canDismissLockScreen() : (mKeyguardStateController.canDismissLockScreen() ? UNLOCK : BOUNCER_UNLOCK); ? UNLOCK : BOUNCER_UNLOCK); // don't fling while in keyguard to avoid jump in shade expand animation; // touch has been intercepted already so flinging here is redundant if (mBarState == KEYGUARD && mExpandedFraction >= 1.0) { mShadeLog.d("NPVC endMotionEvent - skipping fling on keyguard"); } else { fling(vel, expand, isFalseTouch(x, y, interactionType)); fling(vel, expand, isFalseTouch(x, y, interactionType)); } onTrackingStopped(expand); onTrackingStopped(expand); mUpdateFlingOnLayout = expand && mPanelClosedOnDown && !mHasLayoutedSinceDown; mUpdateFlingOnLayout = expand && mPanelClosedOnDown && !mHasLayoutedSinceDown; if (mUpdateFlingOnLayout) { if (mUpdateFlingOnLayout) { Loading Loading
packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java +7 −1 Original line number Original line Diff line number Diff line Loading @@ -3556,7 +3556,13 @@ public final class NotificationPanelViewController implements Dumpable { : (mKeyguardStateController.canDismissLockScreen() : (mKeyguardStateController.canDismissLockScreen() ? UNLOCK : BOUNCER_UNLOCK); ? UNLOCK : BOUNCER_UNLOCK); // don't fling while in keyguard to avoid jump in shade expand animation; // touch has been intercepted already so flinging here is redundant if (mBarState == KEYGUARD && mExpandedFraction >= 1.0) { mShadeLog.d("NPVC endMotionEvent - skipping fling on keyguard"); } else { fling(vel, expand, isFalseTouch(x, y, interactionType)); fling(vel, expand, isFalseTouch(x, y, interactionType)); } onTrackingStopped(expand); onTrackingStopped(expand); mUpdateFlingOnLayout = expand && mPanelClosedOnDown && !mHasLayoutedSinceDown; mUpdateFlingOnLayout = expand && mPanelClosedOnDown && !mHasLayoutedSinceDown; if (mUpdateFlingOnLayout) { if (mUpdateFlingOnLayout) { Loading