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

Commit 51151dcc authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Make package verifier broadcasts foreground." into lmp-mr1-dev

parents fdcdb742 13cf7917
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);