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

Commit e2d4ed92 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

Change-Id: I3755a8c458b92e565d33779d3d4d3c7c6614cdf5
parents d89cac15 93780658
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -25884,11 +25884,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