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

Commit 4b265761 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Treat the intent filter verifier app as foreground" into oc-dev

parents 52312298 fb9bd09d
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -955,6 +955,11 @@ public class PackageManagerService extends IPackageManager.Stub
            verificationIntent.setComponent(mIntentFilterVerifierComponent);
            verificationIntent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
            DeviceIdleController.LocalService idleController = getDeviceIdleController();
            idleController.addPowerSaveTempWhitelistApp(Process.myUid(),
                    mIntentFilterVerifierComponent.getPackageName(), getVerificationTimeout(),
                    userId, false, "intent filter verifier");
            UserHandle user = new UserHandle(userId);
            mContext.sendBroadcastAsUser(verificationIntent, user);
            if (DEBUG_DOMAIN_VERIFICATION) Slog.d(TAG,
@@ -13981,7 +13986,8 @@ public class PackageManagerService extends IPackageManager.Stub
    }
    /**
     * Get the verification agent timeout.
     * Get the verification agent timeout.  Used for both the APK verifier and the
     * intent filter verifier.
     *
     * @return verification timeout in milliseconds
     */