* commit 'e6deaca693c530f7cc3298efc2c53849b9e6cd01': Don't crash sysui when advisory calls fail.
This commit is contained in:
@@ -729,11 +729,15 @@ public abstract class BaseStatusBar extends SystemUI implements
|
||||
}
|
||||
|
||||
protected void setNotificationShown(StatusBarNotification n) {
|
||||
mNotificationListener.setNotificationsShown(new String[] { n.getKey() });
|
||||
setNotificationsShown(new String[]{n.getKey()});
|
||||
}
|
||||
|
||||
protected void setNotificationsShown(String[] keys) {
|
||||
mNotificationListener.setNotificationsShown(keys);
|
||||
try {
|
||||
mNotificationListener.setNotificationsShown(keys);
|
||||
} catch (RuntimeException e) {
|
||||
Log.d(TAG, "failed setNotificationsShown: ", e);
|
||||
}
|
||||
}
|
||||
|
||||
protected boolean isCurrentProfile(int userId) {
|
||||
|
||||
Reference in New Issue
Block a user