Loading packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java +14 −1 Original line number Diff line number Diff line Loading @@ -1175,7 +1175,20 @@ public class ExpandableNotificationRow extends ActivatableNotificationView { * @see #canViewBeDismissed() */ public boolean isClearable() { return mStatusBarNotification != null && mStatusBarNotification.isClearable(); if (mStatusBarNotification == null || !mStatusBarNotification.isClearable()) { return false; } if (mIsSummaryWithChildren) { List<ExpandableNotificationRow> notificationChildren = mChildrenContainer.getNotificationChildren(); for (int i = 0; i < notificationChildren.size(); i++) { ExpandableNotificationRow child = notificationChildren.get(i); if (!child.isClearable()) { return false; } } } return true; } @Override Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java +14 −1 Original line number Diff line number Diff line Loading @@ -1175,7 +1175,20 @@ public class ExpandableNotificationRow extends ActivatableNotificationView { * @see #canViewBeDismissed() */ public boolean isClearable() { return mStatusBarNotification != null && mStatusBarNotification.isClearable(); if (mStatusBarNotification == null || !mStatusBarNotification.isClearable()) { return false; } if (mIsSummaryWithChildren) { List<ExpandableNotificationRow> notificationChildren = mChildrenContainer.getNotificationChildren(); for (int i = 0; i < notificationChildren.size(); i++) { ExpandableNotificationRow child = notificationChildren.get(i); if (!child.isClearable()) { return false; } } } return true; } @Override Loading