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

Commit 6ba14f1f authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN
Browse files

Use Log instead of Slog in QosCallbackAgentConnection

Replace the hidden API Slog with the Log public API. Log is the utility
used by connectivity modularized code, which QosCallbackAgentConnection
is part of.

Change-Id: Ia50ec1cd3b8253ede010ec4fd1c37d9aa731d032
Test: m
Bug: 172050541
parent 2c27a789
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ import android.net.QosSession;
import android.os.IBinder;
import android.os.RemoteException;
import android.telephony.data.EpsBearerQosSessionAttributes;
import android.util.Slog;
import android.util.Log;

import java.util.Objects;

@@ -175,18 +175,14 @@ class QosCallbackAgentConnection implements IBinder.DeathRecipient {
    }

    private static void log(@NonNull final String msg) {
        Slog.d(TAG, msg);
        Log.d(TAG, msg);
    }

    private static void logw(@NonNull final String msg) {
        Slog.w(TAG, msg);
        Log.w(TAG, msg);
    }

    private static void loge(@NonNull final String msg, final Throwable t) {
        Slog.e(TAG, msg, t);
    }

    private static void logwtf(@NonNull final String msg) {
        Slog.wtf(TAG, msg);
        Log.e(TAG, msg, t);
    }
}