Loading packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java +6 −2 Original line number Original line Diff line number Diff line Loading @@ -729,11 +729,15 @@ public abstract class BaseStatusBar extends SystemUI implements } } protected void setNotificationShown(StatusBarNotification n) { protected void setNotificationShown(StatusBarNotification n) { mNotificationListener.setNotificationsShown(new String[] { n.getKey() }); setNotificationsShown(new String[]{n.getKey()}); } } protected void setNotificationsShown(String[] keys) { protected void setNotificationsShown(String[] keys) { try { mNotificationListener.setNotificationsShown(keys); mNotificationListener.setNotificationsShown(keys); } catch (RuntimeException e) { Log.d(TAG, "failed setNotificationsShown: ", e); } } } protected boolean isCurrentProfile(int userId) { protected boolean isCurrentProfile(int userId) { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java +6 −2 Original line number Original line Diff line number Diff line Loading @@ -729,11 +729,15 @@ public abstract class BaseStatusBar extends SystemUI implements } } protected void setNotificationShown(StatusBarNotification n) { protected void setNotificationShown(StatusBarNotification n) { mNotificationListener.setNotificationsShown(new String[] { n.getKey() }); setNotificationsShown(new String[]{n.getKey()}); } } protected void setNotificationsShown(String[] keys) { protected void setNotificationsShown(String[] keys) { try { mNotificationListener.setNotificationsShown(keys); mNotificationListener.setNotificationsShown(keys); } catch (RuntimeException e) { Log.d(TAG, "failed setNotificationsShown: ", e); } } } protected boolean isCurrentProfile(int userId) { protected boolean isCurrentProfile(int userId) { Loading