Merge "Merge "Merge "Update notification redacted state for profile." into qt-dev am: d6e996ca18 am: 1b215379d7" into qt-r1-dev-plus-aosp am: 73fdb9fdfa"

This commit is contained in:
Android Build Merger (Role)
2019-05-22 02:43:00 +00:00
committed by Android (Google) Code Review
3 changed files with 2 additions and 1 deletions

View File

@@ -525,6 +525,7 @@ public class NotificationLockscreenUserManagerImpl implements
setLockscreenPublicMode(isProfilePublic, userId);
mUsersWithSeperateWorkChallenge.put(userId, needsSeparateChallenge);
}
getEntryManager().updateNotifications();
}
@Override

View File

@@ -3133,7 +3133,6 @@ public class StatusBar extends SystemUI implements DemoMode,
// If the state didn't change, we may still need to update public mode
mLockscreenUserManager.updatePublicMode();
mEntryManager.updateNotifications();
}
if (mStatusBarStateController.leaveOpenOnKeyguardHide()) {
if (!mStatusBarStateController.isKeyguardRequested()) {

View File

@@ -111,6 +111,7 @@ public class StatusBarRemoteInputCallback implements Callback, Callbacks,
}
protected void onWorkChallengeChanged() {
mLockscreenUserManager.updatePublicMode();
if (mPendingWorkRemoteInputView != null
&& !mLockscreenUserManager.isAnyProfilePublicMode()) {
// Expand notification panel and the notification row, then click on remote input view