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

Skip to content
Commit 84d83cdc authored by Matías Hernández's avatar Matías Hernández
Browse files

Don't switch DND configs in ZenModeHelper upon reception of USER_UNLOCKED

This broadcast just means that the user's storage is accessible, not that it has become the "current" user.

The bug caused ZenModeHelper's configuration to point to the wrong user when secondary users are created and unlocked but never switched to (as some CTS tests do). In turn this caused the broadcasts expected by NotificationManagerZenTest to be sent to the wrong (and actually removed!) user.

Fixes: 322843652
Test: atest PackageInstallerArchiveMultiUserTest NotificationManagerZenTest
Change-Id: I962ab8f18573631fc040314fe186489b199fcb9e
parent b97eff1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment