commit | cb5dcaee3b315aeb6bb5d6eed04ffff3a2cadba2 | [log] [tgz] |
---|---|---|
author | Nikhil Kumar <nykkumar@google.com> | Tue Jan 31 13:12:00 2023 +0000 |
committer | Nikhil Kumar <nykkumar@google.com> | Fri Feb 10 09:12:33 2023 +0000 |
tree | 399652d5e8b48682d61974f7d0cd69770282843b | |
parent | ed4f08e8af84d7a88f3b6f05b0ca2651a177b21a [diff] |
SettingsActivity: Get profile parent using UserManager.getProfileParent In the headless system user mode(hsum) non-primary users can also have a profile. The existing implementation in SettingsActivity always gets the primary user as the profile parent, refactored the implementation to get profile parent using UserManager.getProfileParent. Test: NA Bug: 267162079 Change-Id: I2af581a4b7e3320f9351b862b7be3ef141b744b7