commit | 6a4fc06f6e233734fab8ec6eb45fb1e4e13852cf | [log] [tgz] |
---|---|---|
author | Jakob Schneider <jakobschneider@google.com> | Tue Dec 05 17:50:33 2023 +0000 |
committer | Jakob Schneider <jakobschneider@google.com> | Fri Dec 08 14:21:44 2023 +0000 |
tree | aca697f6e83c032f1ef074657873df5f07c8cbef | |
parent | b813ecf9fd6d94edd171d7c3cf439d3dbe943894 [diff] |
Fix a crash in the LauncherApps Api for the work profile. Launchers can currently not fetch archived apps from other profiles (it crashes in fact). The new approach is consistent with how we handle other activities http://shortn/_m6ScWfSfA7. 1) check canAccessProfile(), 2) Execute userId checkss without relying on the binderUid. Test: LauncherAppsTest Bug: 314947627 Change-Id: Iffd62827bb6538591518337942f6806d963fa11f