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

Commit 4a5ddd0a authored by Selim Cinek's avatar Selim Cinek Committed by Android (Google) Code Review
Browse files

Merge "Fixed a bug where the notifications were not updated when switching users" into qt-dev

parents cf263d95 4881f5f7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -115,8 +115,10 @@ public class NotificationLockscreenUserManagerImpl implements

                updateLockscreenNotificationSetting();
                updatePublicMode();
                mPresenter.onUserSwitched(mCurrentUserId);
                // The filtering needs to happen before the update call below in order to make sure
                // the presenter has the updated notifications from the new user
                getEntryManager().getNotificationData().filterAndSort();
                mPresenter.onUserSwitched(mCurrentUserId);

                for (UserChangedListener listener : mListeners) {
                    listener.onUserChanged(mCurrentUserId);