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

Commit d9599faf authored by Julia Reynolds's avatar Julia Reynolds Committed by Android (Google) Code Review
Browse files

Merge "Unlocked access of mServices is bad." into nyc-dev

parents d52a81ee ad92957e
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -3813,9 +3813,11 @@ public class NotificationManagerService extends SystemService {

        @Override
        public void onUserSwitched(int user) {
            synchronized (mNotificationList) {
                for (ManagedServiceInfo info : mServices) {
                    unregisterService(info.service, info.userid);
                }
            }
            registerRanker();
        }