Loading packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java +0 −13 Original line number Original line Diff line number Diff line Loading @@ -708,18 +708,6 @@ public abstract class BaseStatusBar extends SystemUI implements mNotificationListener.setNotificationsShown(keys); mNotificationListener.setNotificationsShown(keys); } } protected void setNotificationsShownAll() { ArrayList<Entry> activeNotifications = mNotificationData.getActiveNotifications(); final int N = activeNotifications.size(); String[] keys = new String[N]; for (int i = 0; i < N; i++) { NotificationData.Entry entry = activeNotifications.get(i); keys[i] = entry.key; } setNotificationsShown(keys); } protected boolean isCurrentProfile(int userId) { protected boolean isCurrentProfile(int userId) { synchronized (mCurrentProfiles) { synchronized (mCurrentProfiles) { return userId == UserHandle.USER_ALL || mCurrentProfiles.get(userId) != null; return userId == UserHandle.USER_ALL || mCurrentProfiles.get(userId) != null; Loading Loading @@ -1701,7 +1689,6 @@ public abstract class BaseStatusBar extends SystemUI implements boolean clearNotificationEffects = boolean clearNotificationEffects = (mState == StatusBarState.SHADE || mState == StatusBarState.SHADE_LOCKED); (mState == StatusBarState.SHADE || mState == StatusBarState.SHADE_LOCKED); mBarService.onPanelRevealed(clearNotificationEffects); mBarService.onPanelRevealed(clearNotificationEffects); setNotificationsShownAll(); } else { } else { mBarService.onPanelHidden(); mBarService.onPanelHidden(); } } Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -2852,6 +2852,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, } catch (RemoteException e) { } catch (RemoteException e) { // Ignore. // Ignore. } } setNotificationsShown(newlyVisibleAr); } } // State logging // State logging Loading services/core/java/com/android/server/notification/NotificationRecord.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -112,6 +112,7 @@ public final class NotificationRecord { + " / " + idDebugString(baseContext, sbn.getPackageName(), notification.icon)); + " / " + idDebugString(baseContext, sbn.getPackageName(), notification.icon)); pw.println(prefix + " pri=" + notification.priority + " score=" + sbn.getScore()); pw.println(prefix + " pri=" + notification.priority + " score=" + sbn.getScore()); pw.println(prefix + " key=" + sbn.getKey()); pw.println(prefix + " key=" + sbn.getKey()); pw.println(prefix + " seen=" + mIsSeen); pw.println(prefix + " groupKey=" + getGroupKey()); pw.println(prefix + " groupKey=" + getGroupKey()); pw.println(prefix + " contentIntent=" + notification.contentIntent); pw.println(prefix + " contentIntent=" + notification.contentIntent); pw.println(prefix + " deleteIntent=" + notification.deleteIntent); pw.println(prefix + " deleteIntent=" + notification.deleteIntent); Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java +0 −13 Original line number Original line Diff line number Diff line Loading @@ -708,18 +708,6 @@ public abstract class BaseStatusBar extends SystemUI implements mNotificationListener.setNotificationsShown(keys); mNotificationListener.setNotificationsShown(keys); } } protected void setNotificationsShownAll() { ArrayList<Entry> activeNotifications = mNotificationData.getActiveNotifications(); final int N = activeNotifications.size(); String[] keys = new String[N]; for (int i = 0; i < N; i++) { NotificationData.Entry entry = activeNotifications.get(i); keys[i] = entry.key; } setNotificationsShown(keys); } protected boolean isCurrentProfile(int userId) { protected boolean isCurrentProfile(int userId) { synchronized (mCurrentProfiles) { synchronized (mCurrentProfiles) { return userId == UserHandle.USER_ALL || mCurrentProfiles.get(userId) != null; return userId == UserHandle.USER_ALL || mCurrentProfiles.get(userId) != null; Loading Loading @@ -1701,7 +1689,6 @@ public abstract class BaseStatusBar extends SystemUI implements boolean clearNotificationEffects = boolean clearNotificationEffects = (mState == StatusBarState.SHADE || mState == StatusBarState.SHADE_LOCKED); (mState == StatusBarState.SHADE || mState == StatusBarState.SHADE_LOCKED); mBarService.onPanelRevealed(clearNotificationEffects); mBarService.onPanelRevealed(clearNotificationEffects); setNotificationsShownAll(); } else { } else { mBarService.onPanelHidden(); mBarService.onPanelHidden(); } } Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -2852,6 +2852,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, } catch (RemoteException e) { } catch (RemoteException e) { // Ignore. // Ignore. } } setNotificationsShown(newlyVisibleAr); } } // State logging // State logging Loading
services/core/java/com/android/server/notification/NotificationRecord.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -112,6 +112,7 @@ public final class NotificationRecord { + " / " + idDebugString(baseContext, sbn.getPackageName(), notification.icon)); + " / " + idDebugString(baseContext, sbn.getPackageName(), notification.icon)); pw.println(prefix + " pri=" + notification.priority + " score=" + sbn.getScore()); pw.println(prefix + " pri=" + notification.priority + " score=" + sbn.getScore()); pw.println(prefix + " key=" + sbn.getKey()); pw.println(prefix + " key=" + sbn.getKey()); pw.println(prefix + " seen=" + mIsSeen); pw.println(prefix + " groupKey=" + getGroupKey()); pw.println(prefix + " groupKey=" + getGroupKey()); pw.println(prefix + " contentIntent=" + notification.contentIntent); pw.println(prefix + " contentIntent=" + notification.contentIntent); pw.println(prefix + " deleteIntent=" + notification.deleteIntent); pw.println(prefix + " deleteIntent=" + notification.deleteIntent); Loading