Loading packages/SystemUI/src/com/android/systemui/SwipeHelper.java +6 −1 Original line number Diff line number Diff line Loading @@ -439,7 +439,12 @@ public class SwipeHelper implements Gefingerpoken { public void onAnimationEnd(Animator animation) { updateSwipeProgressFromOffset(animView, canBeDismissed); mDismissPendingMap.remove(animView); if (!mCancelled) { boolean wasRemoved = false; if (animView instanceof ExpandableNotificationRow) { ExpandableNotificationRow row = (ExpandableNotificationRow) animView; wasRemoved = row.isRemoved(); } if (!mCancelled || wasRemoved) { mCallback.onChildDismissed(animView); } if (endAction != null) { Loading packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +4 −1 Original line number Diff line number Diff line Loading @@ -4539,7 +4539,10 @@ public class NotificationStackScrollLayout extends ViewGroup anim.start(); } } else if (mMenuExposedView instanceof ExpandableNotificationRow) { ((ExpandableNotificationRow) mMenuExposedView).resetTranslation(); ExpandableNotificationRow row = (ExpandableNotificationRow) mMenuExposedView; if (!row.isRemoved()) { row.resetTranslation(); } } mMenuExposedView = null; } Loading Loading
packages/SystemUI/src/com/android/systemui/SwipeHelper.java +6 −1 Original line number Diff line number Diff line Loading @@ -439,7 +439,12 @@ public class SwipeHelper implements Gefingerpoken { public void onAnimationEnd(Animator animation) { updateSwipeProgressFromOffset(animView, canBeDismissed); mDismissPendingMap.remove(animView); if (!mCancelled) { boolean wasRemoved = false; if (animView instanceof ExpandableNotificationRow) { ExpandableNotificationRow row = (ExpandableNotificationRow) animView; wasRemoved = row.isRemoved(); } if (!mCancelled || wasRemoved) { mCallback.onChildDismissed(animView); } if (endAction != null) { Loading
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +4 −1 Original line number Diff line number Diff line Loading @@ -4539,7 +4539,10 @@ public class NotificationStackScrollLayout extends ViewGroup anim.start(); } } else if (mMenuExposedView instanceof ExpandableNotificationRow) { ((ExpandableNotificationRow) mMenuExposedView).resetTranslation(); ExpandableNotificationRow row = (ExpandableNotificationRow) mMenuExposedView; if (!row.isRemoved()) { row.resetTranslation(); } } mMenuExposedView = null; } Loading