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

Commit d3d8e2ba 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: c2813e25

am: 60453d14

* commit '60453d14':
  Unlocked access of mServices is bad.

Change-Id: Iaa4cdffe47be29eb9e4f2302c78d38fb2a97176e
parents a9d4838f 60453d14
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();
        }