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

Commit bdaded34 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't log privapp-permissions violations for updated apps"

parents 1058a3dd 0ba0d814
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -11711,7 +11711,8 @@ public class PackageManagerService extends IPackageManager.Stub {
            if (!whitelisted) {
                Slog.w(TAG, "Privileged permission " + perm + " for package "
                        + pkg.packageName + " - not in privapp-permissions whitelist");
                if (!mSystemReady) {
                // Only report violations for apps on system image
                if (!mSystemReady && !pkg.isUpdatedSystemApp()) {
                    if (mPrivappPermissionsViolations == null) {
                        mPrivappPermissionsViolations = new ArraySet<>();
                    }