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
6 files changed