Merge "Fix multi-user silent notifications on lockscreen" into main am: fc66de20c0 am: b88ef0728d am: a8c202a23e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2652070 Change-Id: I53dd213d03b98ad30a0385b0192d86a8bb59a938 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -87,6 +87,7 @@ private class KeyguardNotificationVisibilityProviderImpl @Inject constructor(
|
||||
|
||||
private val userTrackerCallback = object : UserTracker.Callback {
|
||||
override fun onUserChanged(newUser: Int, userContext: Context) {
|
||||
readShowSilentNotificationSetting()
|
||||
if (isLockedOrLocking) {
|
||||
// maybe public mode changed
|
||||
notifyStateChanged("onUserSwitched")
|
||||
|
||||
Reference in New Issue
Block a user