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

Commit 2c9da0fa authored by Winson Chiu's avatar Winson Chiu Committed by Android (Google) Code Review
Browse files

Merge "Skip clearing verification for apps marked with SystemConfig <app-link>"

parents 277dc6bf 77fb7f69
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -20730,6 +20730,11 @@ public class PackageManagerService extends IPackageManager.Stub
    @GuardedBy("mLock")
    void clearIntentFilterVerificationsLPw(String packageName, int userId,
            boolean alsoResetStatus) {
        if (SystemConfig.getInstance().getLinkedApps().contains(packageName)) {
            // Nope, need to preserve the system configuration approval for this app
            return;
        }
        if (userId == UserHandle.USER_ALL) {
            if (mSettings.removeIntentFilterVerificationLPw(packageName,
                    mUserManager.getUserIds())) {