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

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

Merge "Replace Slog with Log in ContentProvider"

parents 7dee6551 aaa54271
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -51,7 +51,6 @@ import android.os.UserHandle;
import android.os.storage.StorageManager;
import android.text.TextUtils;
import android.util.Log;
import android.util.Slog;

import com.android.internal.annotations.VisibleForTesting;

@@ -589,7 +588,7 @@ public abstract class ContentProvider implements ComponentCallbacks2 {
                int mode = mAppOpsManager.noteProxyOp(op, callingPkg);
                int nonDefaultMode = mode == MODE_DEFAULT ? interpretDefaultAppOpMode(op) : mode;
                if (mode == MODE_DEFAULT && nonDefaultMode == MODE_IGNORED) {
                    Slog.w(TAG, "Denying access for " + callingPkg + " to " + getClass().getName()
                    Log.w(TAG, "Denying access for " + callingPkg + " to " + getClass().getName()
                            + " (" + AppOpsManager.opToName(op)
                            + " = " + AppOpsManager.opToName(mode) + ")");
                }