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

Skip to content
Commit 3f8232f0 authored by Andreas Miko's avatar Andreas Miko
Browse files

Refactor getCurrentUser out of KeyguardViewMediator

KeyguardUpdateMonitor.getCurrentUser() is now removed after all
references were refactored. setCurrentUser() is not used therefore and
just `notifyTrustedChangedLocked()` had to be moved to `onUserSwitching`
 instead. Ideally these calls would listen to a flow of
 getSelectedUserId() such that any change to the user would be reacted
 to instead of relying on `onUserSwitching` callbacks.

Test: Refactored tests
Bug: b/303808405
Bug: b/297839820
Flag: b/305984787 - REFACTOR_GETCURRENTUSER (added in ag/25089323)
Change-Id: I7b1ca0d30f56ad512a5e454e738e8c07ac906e38
parent 61bd8de7
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