Skip to content
Commit df18b672 authored by Nick Chameyev's avatar Nick Chameyev
Browse files

[Partial screensharing] Fix crash when having a recents app available only in work profile

AppIconLoader in the recent app selector crashed when getting
information about an app that is available only in work profile.
This is because package manager gets activity information only
for the current user.
Replaced with using private package manager wrapper that allows
to get activity info for any user.

Bug: 256835220
Test: open app selector with work profile apps in the recents
Test: com.android.systemui.mediaprojection.appselector.data.IconLoaderLibAppIconLoaderTest
Change-Id: Ib608176a80e4a8f02452de3bc72f01b184ee4680
parent 71bf4aaf
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