Allow passing a user handle to AppPermissionsFragment.

Instead of always defaulting to the current user, allow passing a specific UserHandle to AppPermissionsFragment to control which user to show.

Fixes: 126726013
Test: Click on normal and work profile app icon in SysUI and see
correctly-labeled page.
Test: Open AppPermissionsFragment from app info for normal and work
apps and see the right one.

Change-Id: I499a49d87c65d18cf4754841c055f57bbdfb3295
2 files changed
tree: 6b2925af08e8a5573a462e687df126c136a70ce3
  1. PermissionController/