Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 56246485 authored by Nikhil Kumar's avatar Nikhil Kumar
Browse files

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
parent 9685f173
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment