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

Commit 867768d8 authored by Kamaljeet Maini's avatar Kamaljeet Maini Committed by Android (Google) Code Review
Browse files

Merge "Update current user after registering receiver"

parents b40dea1c dfedc906
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -285,6 +285,7 @@ public class NotificationLockscreenUserManagerImpl implements
        internalFilter.addAction(NOTIFICATION_UNLOCKED_BY_WORK_CHALLENGE_ACTION);
        mContext.registerReceiver(mBaseBroadcastReceiver, internalFilter, PERMISSION_SELF, null);

        mCurrentUserId = ActivityManager.getCurrentUser(); // in case we reg'd receiver too late
        updateCurrentProfilesCache();

        mSettingsObserver.onChange(false);  // set up