[PM] Get the packageInfo for any users

For uninstalling one app for all users case, sometimes the app is
only installed on another user, not installed on the admin user. Add
the related flag to get the PackageInfo.

Flag: android.content.pm.use_pia_v2
Bug: 423034415
Test: atest CtsPackageInstallerCUJMultiUsersTestCases
Test: atest CtsPackageUninstallTestCases
Change-Id: Ia5ac93cac9ad24ab22d5c307169f3d7cbad7b2c1
1 file changed