Merge "Fix issue where menu items visible on 'closed' notification on lockscreen" into oc-dev

This commit is contained in:
Mady Mellor
2017-04-14 20:40:00 +00:00
committed by Android (Google) Code Review

View File

@@ -306,6 +306,10 @@ public class NotificationMenuRow implements NotificationMenuRowPlugin, View.OnCl
}
private void snapBack(View animView, float velocity) {
if (mFadeAnimator != null) {
mFadeAnimator.cancel();
}
mHandler.removeCallbacks(mCheckForDrag);
mMenuSnappedTo = false;
mSnapping = true;
mSwipeHelper.snap(animView, 0 /* leftTarget */, velocity);