We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b739467 commit 2650558Copy full SHA for 2650558
1 file changed
packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
@@ -729,11 +729,15 @@ public boolean isNotificationForCurrentProfiles(StatusBarNotification n) {
729
}
730
731
protected void setNotificationShown(StatusBarNotification n) {
732
- mNotificationListener.setNotificationsShown(new String[] { n.getKey() });
+ setNotificationsShown(new String[]{n.getKey()});
733
734
735
protected void setNotificationsShown(String[] keys) {
736
- mNotificationListener.setNotificationsShown(keys);
+ try {
737
+ mNotificationListener.setNotificationsShown(keys);
738
+ } catch (RuntimeException e) {
739
+ Log.d(TAG, "failed setNotificationsShown: ", e);
740
+ }
741
742
743
protected boolean isCurrentProfile(int userId) {
0 commit comments