Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b86df334 authored by Chris Wren's avatar Chris Wren Committed by Android Git Automerger
Browse files

am e6deaca6: am db2b4ba6: Merge "Don\'t crash sysui when advisory calls fail." into mnc-dev

* commit 'e6deaca6':
  Don't crash sysui when advisory calls fail.
parents cd03be66 e6deaca6
Loading
Loading
Loading
Loading
+6 −2
Original line number Original line Diff line number Diff line
@@ -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) {