summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Caitlin Shkuratov <caitlinshk@google.com> 2023-10-02 20:06:33 +0000
committer Caitlin Shkuratov <caitlinshk@google.com> 2023-10-03 17:16:47 +0000
commit8f9c2b721bc46ee3a76c475bf3a179d930877704 (patch)
tree7440245779972b54a4fe62cc8c510bdad6016ee9 /libs/androidfw/FileStream.cpp
parentf860443c061802c5d5fcc9a44e09e26c4e6c4858 (diff)
[SB][Scene] Decide when to show user switcher on keyguard in repos.
NPVC has a lot of logic in a lot of different methods about when to show the user switcher. After reading and re-reading, I think it distills down to config_keyguardUserSwitcher && userManager.isUserSwitcherEnabled(qs_show_user_switcher_for_single_user). This CL adds a flow to that effect and listens to it. Bug: 300484307 Test: On phone, verify user switcher is never shown (only user avatar if there are multiple users, nothing if single user) Test: On tablet, verify user switcher chip is shown if there are multiple users (or user & guest), not shown if single user Test: atest KeyguardStatusBarRepositoryImplTest Change-Id: I5ec9a8a964219fdea3f7addf95f03469585113f2
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions