[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
Loading
Please register or sign in to comment