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

Commit 2b02ead6 authored by Julia Reynolds's avatar Julia Reynolds Committed by android-build-merger
Browse files

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

am: 3b46f0e8

* commit '3b46f0e8':
  Unlocked access of mServices is bad.

Change-Id: I78bbd3bb5f54b512740ce72e5168c605d2902fa5
parents f1659036 3b46f0e8
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();
        }