Merge "Fix multi-user silent notifications on lockscreen" into main

This commit is contained in:
Steve Elliott
2023-07-11 20:22:03 +00:00
committed by Gerrit Code Review

View File

@@ -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")