summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Alejandro Nijamkin <nijamkin@google.com> 2022-10-10 10:49:54 -0700
committer Ale Nijamkin <nijamkin@google.com> 2022-10-10 21:47:50 +0000
commit56223dafd065db4f024842b645b45c6b2e9a2370 (patch)
tree76a411a068b0f771234ec65c45923964d414d076 /libs/androidfw/ZipFileRO.cpp
parent3348d7197b40275c9e86909ed626462ff42c51c7 (diff)
Fix bug where switching to guest didn't work.
The cause was that we were using UserRecord.resolveId() which would return UserHandle.USER_NULL when the record was for a guest. We now use the raw ID in the UserRecord in this case. Also, the logic is being moved from UserSwitcherControllerImpl which is a temporary class meant to help us migrate from the old implementation to the new and is thus not unit tested to UserInteractor, where we can comfortably add unit tests in this CL. Fix: 251740146, 251376342 Test: Issue no longer reproduces after this CL Change-Id: Ib0cbb23d0f6111af7a2eb98278796c34a3e69209
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions