summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Nikhil Kumar <nykkumar@google.com> 2024-06-19 19:04:11 +0100
committer Nikhil Kumar <nykkumar@google.com> 2024-06-21 20:39:34 +0000
commit56246485909a8f97bacc1ab27997c2f7a8810bc9 (patch)
tree9d2c871ef2b9ff2ba5bd06a0801c7c955cc60099 /libs/androidfw/StringPool.cpp
parent9685f17312e7f8c656ac5d2e0fe31ebde2643831 (diff)
Changed parent assumption to current context user from USER_SYSTEM
After HSUM mode profile parent is not only limited to the SYSTEM user, changed the instances where it was using the SYSTEM to get the profile parent or to get the managed profile id to use the context user. Also removed self user id check continue statement from getManagedProfileId() method to allow it to be getting queried by manged profile user itself in that case it will return it's own user id as the managed profile. Test: manually verfied the flow in Settings app --> Password, passkeys and autofill --> Tap on Work profile. Bug: 347693615 Flag: EXEMPT Minor bug fix Change-Id: I54d52faed6c233afff8e9a6336d29afdff5c8268
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions