Merge "Fix multi-user silent notifications on lockscreen" into main
This commit is contained in:
@@ -87,6 +87,7 @@ private class KeyguardNotificationVisibilityProviderImpl @Inject constructor(
|
|||||||
|
|
||||||
private val userTrackerCallback = object : UserTracker.Callback {
|
private val userTrackerCallback = object : UserTracker.Callback {
|
||||||
override fun onUserChanged(newUser: Int, userContext: Context) {
|
override fun onUserChanged(newUser: Int, userContext: Context) {
|
||||||
|
readShowSilentNotificationSetting()
|
||||||
if (isLockedOrLocking) {
|
if (isLockedOrLocking) {
|
||||||
// maybe public mode changed
|
// maybe public mode changed
|
||||||
notifyStateChanged("onUserSwitched")
|
notifyStateChanged("onUserSwitched")
|
||||||
|
|||||||
Reference in New Issue
Block a user