Fix issue where menu items visible on 'closed' notification on lockscreen
Needed to cancel / remove check for the fade in animator when the notification gets snapped back since the icons shouldn't show in this case. Test: manual Bug: 37260033 Change-Id: I5b5ce51f930025dc819a8578f2285c60fa041e7c
This commit is contained in:
@@ -273,6 +273,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);
|
||||
|
||||
Reference in New Issue
Block a user