summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Andreas Miko <amiko@google.com> 2023-10-16 18:00:31 +0200
committer Andreas Miko <amiko@google.com> 2023-10-18 01:57:10 +0200
commit3f8232f0be163d50b0d4b4d6d574416d5282eb68 (patch)
tree20970ec6f4d89e5599b6c6c701f31ecd69f7b441 /api/api.go
parent61bd8de792bf757f4227a2b82096a202933bea22 (diff)
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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions