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

Commit 18b4427c authored by Chris Wren's avatar Chris Wren Committed by android-build-merger
Browse files

Merge "close a potential race condition in registerAsSystemService" into...

Merge "close a potential race condition in registerAsSystemService" into nyc-dev am: 3b016f54 am: ca925148
am: 7f251126

* commit '7f251126':
  close a potential race condition in registerAsSystemService

Change-Id: Ic9d102dcf92377e332430418bf68cbfd08d0d124
parents 8d1724a6 7f251126
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -764,9 +764,9 @@ public abstract class NotificationListenerService extends Service {
        }
        mSystemContext = context;
        INotificationManager noMan = getNotificationInterface();
        noMan.registerListener(mWrapper, componentName, currentUser);
        mCurrentUser = currentUser;
        mHandler = new MyHandler(context.getMainLooper());
        mCurrentUser = currentUser;
        noMan.registerListener(mWrapper, componentName, currentUser);
    }

    /**