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

Commit 05d0d43b authored by Sungsoo Lim's avatar Sungsoo Lim
Browse files

Prevent log spams for some BT classes

Bug: 247784807
Test: build
Tag: #refactor
Change-Id: Ia71adc8d1619c6701880db0675188eb7bd84bd57
parent 3358635a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ import java.util.regex.Pattern;
 */
public class MediaPlayerList {
    private static final String TAG = "MediaPlayerList";
    private static final boolean DEBUG = true;
    private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
    static boolean sTesting = false;

    private static final String PACKAGE_SCHEME = "package";
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ import java.util.Objects;
 */
public class MediaPlayerWrapper {
    private static final String TAG = "AudioMediaPlayerWrapper";
    private static final boolean DEBUG = false;
    private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
    static boolean sTesting = false;
    private static final int PLAYBACK_STATE_CHANGE_EVENT_LOGGER_SIZE = 5;
    private static final String PLAYBACK_STATE_CHANGE_LOGGER_EVENT_TITLE =
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ import java.util.Objects;
 */
public class AvrcpNativeInterface {
    private static final String TAG = "AvrcpNativeInterface";
    private static final boolean DEBUG = true;
    private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);

    private static AvrcpNativeInterface sInstance;
    private AvrcpTargetService mAvrcpService;
+3 −3
Original line number Diff line number Diff line
@@ -69,9 +69,9 @@ import java.util.UUID;
 * Implemented according to Media Control Service v1.0 specification.
 */
public class MediaControlGattService implements MediaControlGattServiceInterface {
    private static final String TAG = "BluetoothMediaControlGattService";
    private static final boolean DBG = true;
    private static final boolean VDBG = false;
    private static final String TAG = "MediaControlGattService";
    private static final boolean DBG = Log.isLoggable(TAG, Log.DEBUG);
    private static final boolean VDBG = Log.isLoggable(TAG, Log.VERBOSE);

    /* MCS assigned UUIDs */
    public static final UUID UUID_PLAYER_NAME =
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ import java.util.stream.Stream;
 */
public class MediaControlProfile implements MediaControlServiceCallbacks {
    private static final String TAG = "MediaControlProfile";
    private static final boolean DBG = true;
    private static final boolean DBG = Log.isLoggable(TAG, Log.DEBUG);
    private final Context mContext;

    // Media players data