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

Commit abbe99e0 authored by Christopher Dombroski's avatar Christopher Dombroski Committed by android-build-merger
Browse files

OP_REQUEST_INSTALL_PACKAGES denied by default am: 43e682ab am: 93780658

am: e2d4ed92

Change-Id: I7b440302c64f54d33ec4afce2ac517288cc5cba6
parents 0f512b2e e2d4ed92
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -24572,11 +24572,9 @@ Slog.v(TAG, ":: stepped forward, applying functor at tag " + parser.getName());
        }
        if (mExternalSourcesPolicy != null) {
            int isTrusted = mExternalSourcesPolicy.getPackageTrustedToInstallApps(packageName, uid);
            if (isTrusted != PackageManagerInternal.ExternalSourcesPolicy.USER_DEFAULT) {
            return isTrusted == PackageManagerInternal.ExternalSourcesPolicy.USER_TRUSTED;
        }
        }
        return checkUidPermission(appOpPermission, uid) == PERMISSION_GRANTED;
        return false;
    }
    @Override