summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Jakob Schneider <jakobschneider@google.com> 2023-12-05 17:50:33 +0000
committer Jakob Schneider <jakobschneider@google.com> 2023-12-08 14:21:44 +0000
commit6a4fc06f6e233734fab8ec6eb45fb1e4e13852cf (patch)
treeaca697f6e83c032f1ef074657873df5f07c8cbef /libs/androidfw/FileStream.cpp
parentb813ecf9fd6d94edd171d7c3cf439d3dbe943894 (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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions