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

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

OP_REQUEST_INSTALL_PACKAGES denied by default

am: 43e682ab

Change-Id: I13fd6fc7ba432a2cde1e8dbbc7b206e8203374f8
parents 30826bd6 43e682ab
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -25088,11 +25088,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