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

Commit 9f582edf authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Using Loggable for PanService & SapService"

parents 1a2e45f5 2592252f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ import java.util.Objects;
 */
public class PanService extends ProfileService {
    private static final String TAG = "PanService";
    private static final boolean DBG = false;
    private static final boolean DBG = Log.isLoggable(TAG, Log.DEBUG);
    private static PanService sPanService;

    private static final String BLUETOOTH_IFACE_ADDR_START = "192.168.44.1";
+8 −2
Original line number Diff line number Diff line
@@ -49,8 +49,14 @@ public class SapService extends ProfileService {
    private static final String SDP_SAP_SERVICE_NAME = "SIM Access";
    private static final int SDP_SAP_VERSION = 0x0102;
    private static final String TAG = "SapService";
    public static final boolean DEBUG = false;
    public static final boolean VERBOSE = false;

    /**
     * To log debug/verbose in SAP, use the command "setprop log.tag.SapService DEBUG" or
     * "setprop log.tag.SapService VERBOSE" and then "adb root" + "adb shell "stop; start""
     **/

    public static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
    public static final boolean VERBOSE = Log.isLoggable(TAG, Log.VERBOSE);

    /* Message ID's */
    private static final int START_LISTENER = 1;