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

Commit aaa54271 authored by Eugene Susla's avatar Eugene Susla
Browse files

Replace Slog with Log in ContentProvider

Test: ensure noe errors on boot
Change-Id: I44efbf1a52c9c602ce6c9f8ea23b7a4566df27f3
parent 4f48e9a2
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) + ")");
                }