Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f8b53cc authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android Git Automerger
Browse files

am 51151dcc: Merge "Make package verifier broadcasts foreground." into lmp-mr1-dev

* commit '51151dcc':
  Make package verifier broadcasts foreground.
parents 91b5550e 51151dcc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8982,6 +8982,7 @@ public class PackageManagerService extends IPackageManager.Stub {
                        && isVerificationEnabled(userIdentifier, installFlags)) {
                    final Intent verification = new Intent(
                            Intent.ACTION_PACKAGE_NEEDS_VERIFICATION);
                    verification.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
                    verification.setDataAndType(Uri.fromFile(new File(origin.resolvedPath)),
                            PACKAGE_MIME_TYPE);
                    verification.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);