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

Commit 9d7512e9 authored by Christopher Tate's avatar Christopher Tate Committed by android-build-merger
Browse files

Merge "Treat the intent filter verifier app as foreground" into oc-dev am: 4b265761

am: 1777b3f5

Change-Id: I8fc06443c25f0360cd140e5b3b01c27f66b32416
parents 2fa6412a 1777b3f5
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
     */