summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Yasin Kilicdere <tyk@google.com> 2023-06-30 15:52:54 +0100
committer Yasin Kilicdere <tyk@google.com> 2023-06-30 15:52:54 +0100
commit3cc84671cbd366ed317460f920c497d0c6987b91 (patch)
tree7c54b93269cfc6913096f34fca99c6299b5bd02d /libs/hwui/FrameInfoVisualizer.cpp
parent8b58515d9b65ec23d339843c12d3ff7929ad1b1d (diff)
Put the current user to mUsers in UserManagerServiceTest.
Because of the way we construct UMS from UserManagerServiceTest, it can not populate mUsers with existing users. Because it can not find userlist.xml and fallback to single user. And the test methods which try to set a restriction for the current user fail because UMS.setUserRestriction fails with "Cannot set user restriction no_user_switch. User with id 10 does not exist." error. We're fixing this issue by manually adding the current user to UMS.mUsers via mUserManagerService.putUserInfo() method. Bug: 289517147 Test: atest UserManagerServiceTest Change-Id: I6d17fe1fc34408acde8f6b7233a7cf96a5dbfa45
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions