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

Commit 60ac308e authored by Daniel Sandler's avatar Daniel Sandler Committed by Android (Google) Code Review
Browse files

Merge "Defend against a system server crash." into jb-mr2-dev

parents cb359697 c1b49bd2
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -727,7 +727,13 @@ public class NotificationManagerService extends INotificationManager.Stub
                        && info.userid == userid) {
                    mListeners.remove(i);
                    if (info.connection != null) {
                        try {
                            mContext.unbindService(info.connection);
                        } catch (IllegalArgumentException ex) {
                            // something happened to the service: we think we have a connection
                            // but it's bogus.
                            Slog.e(TAG, "Listener " + name + " could not be unbound: " + ex);
                        }
                    }
                }
            }