diff options
| author | 2024-02-22 15:31:07 +0000 | |
|---|---|---|
| committer | 2024-02-22 15:31:07 +0000 | |
| commit | df46e86c3e49fd1bd26de608a5d5ff5aeaa752cd (patch) | |
| tree | 11c9a8170a323d720f04a8b9c079659c3562bae8 /api/coverage/tools | |
| parent | 1a4620a9f9c7a35efe6740f79c3c63bd185bad58 (diff) | |
Fix an issue for work profiles (or any profile with a shared UI).
If a profile shares its UI with another profile then the launcher runs
on a different userId, this caused some checks to fail.
Removed one useless check about package name and adjusted the second to
consider the profile parent instead if it exists.
Bug: N/A (just found it)
Test: manually (this wasn't caught by CTS tests because in tests we have to set
the default launcher manually first in the test itself)
Change-Id: I5f09f90a0807efb1f49d82e4326ade026748f2c4
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions