Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +12 −0 Original line number Original line Diff line number Diff line Loading @@ -6084,6 +6084,18 @@ public class NotificationStackScrollLayout } } } } void removeSwipedOutView(View v) { logRemoveSwipedOutView(v); mSwipedOutViews.remove(v); } private void logRemoveSwipedOutView(View v) { if (mLogger != null && v instanceof ExpandableNotificationRow row) { mLogger.logRemoveSwipedOutView(row.getLoggingKey(), mClearAllInProgress); } } void onSwipeBegin(View viewSwiped) { void onSwipeBegin(View viewSwiped) { if (!(viewSwiped instanceof ExpandableNotificationRow)) { if (!(viewSwiped instanceof ExpandableNotificationRow)) { return; return; Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayoutController.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -710,6 +710,9 @@ public class NotificationStackScrollLayoutController implements Dumpable { public void onChildNotDismissed(View v, boolean animationCancelled, public void onChildNotDismissed(View v, boolean animationCancelled, boolean viewWasRemoved) { boolean viewWasRemoved) { logOnChildNotDismissed(v, animationCancelled, viewWasRemoved); logOnChildNotDismissed(v, animationCancelled, viewWasRemoved); if (!viewWasRemoved) { mView.removeSwipedOutView(v); } } } private void logOnChildNotDismissed(View v, boolean animationCancelled, private void logOnChildNotDismissed(View v, boolean animationCancelled, Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLogger.kt +12 −0 Original line number Original line Diff line number Diff line Loading @@ -246,6 +246,18 @@ constructor( ) ) } } fun logRemoveSwipedOutView(loggingKey: String, clearAllInProgress: Boolean) { notificationRenderBuffer.log( TAG, INFO, { str1 = loggingKey bool1 = clearAllInProgress }, { "removeSwipedOutView from NSSL: childKey = $str1 -- clearAllInProgress:$bool1" }, ) } fun logOnChildDismissed(loggingKey: String, clearAllInProgress: Boolean) { fun logOnChildDismissed(loggingKey: String, clearAllInProgress: Boolean) { notificationRenderBuffer.log( notificationRenderBuffer.log( TAG, TAG, Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +12 −0 Original line number Original line Diff line number Diff line Loading @@ -6084,6 +6084,18 @@ public class NotificationStackScrollLayout } } } } void removeSwipedOutView(View v) { logRemoveSwipedOutView(v); mSwipedOutViews.remove(v); } private void logRemoveSwipedOutView(View v) { if (mLogger != null && v instanceof ExpandableNotificationRow row) { mLogger.logRemoveSwipedOutView(row.getLoggingKey(), mClearAllInProgress); } } void onSwipeBegin(View viewSwiped) { void onSwipeBegin(View viewSwiped) { if (!(viewSwiped instanceof ExpandableNotificationRow)) { if (!(viewSwiped instanceof ExpandableNotificationRow)) { return; return; Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayoutController.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -710,6 +710,9 @@ public class NotificationStackScrollLayoutController implements Dumpable { public void onChildNotDismissed(View v, boolean animationCancelled, public void onChildNotDismissed(View v, boolean animationCancelled, boolean viewWasRemoved) { boolean viewWasRemoved) { logOnChildNotDismissed(v, animationCancelled, viewWasRemoved); logOnChildNotDismissed(v, animationCancelled, viewWasRemoved); if (!viewWasRemoved) { mView.removeSwipedOutView(v); } } } private void logOnChildNotDismissed(View v, boolean animationCancelled, private void logOnChildNotDismissed(View v, boolean animationCancelled, Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLogger.kt +12 −0 Original line number Original line Diff line number Diff line Loading @@ -246,6 +246,18 @@ constructor( ) ) } } fun logRemoveSwipedOutView(loggingKey: String, clearAllInProgress: Boolean) { notificationRenderBuffer.log( TAG, INFO, { str1 = loggingKey bool1 = clearAllInProgress }, { "removeSwipedOutView from NSSL: childKey = $str1 -- clearAllInProgress:$bool1" }, ) } fun logOnChildDismissed(loggingKey: String, clearAllInProgress: Boolean) { fun logOnChildDismissed(loggingKey: String, clearAllInProgress: Boolean) { notificationRenderBuffer.log( notificationRenderBuffer.log( TAG, TAG, Loading