* commit '723c5b8587a7b9d9287b2c8a8168eaaf128b8837': Fix PackageInstaller displays with multi-user
This commit is contained in:
@@ -6401,7 +6401,7 @@ public class PackageManagerService extends IPackageManager.Stub {
|
|||||||
* do, then we'll defer to them to verify the packages.
|
* do, then we'll defer to them to verify the packages.
|
||||||
*/
|
*/
|
||||||
final int requiredUid = mRequiredVerifierPackage == null ? -1
|
final int requiredUid = mRequiredVerifierPackage == null ? -1
|
||||||
: getPackageUid(mRequiredVerifierPackage, 0);
|
: getPackageUid(mRequiredVerifierPackage, getUser().getIdentifier());
|
||||||
if (requiredUid != -1 && isVerificationEnabled(flags)) {
|
if (requiredUid != -1 && isVerificationEnabled(flags)) {
|
||||||
final Intent verification = new Intent(
|
final Intent verification = new Intent(
|
||||||
Intent.ACTION_PACKAGE_NEEDS_VERIFICATION);
|
Intent.ACTION_PACKAGE_NEEDS_VERIFICATION);
|
||||||
|
|||||||
Reference in New Issue
Block a user