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

Commit 9af26955 authored by Yuyang Huang's avatar Yuyang Huang Committed by Gerrit Code Review
Browse files

Merge "change log level to loggable" into main

parents 602bd1ef f7698fa3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,8 +53,8 @@ import java.util.Objects;
 * A profile service that connects to the Battery service (BAS) of BLE devices
 */
public class BatteryService extends ProfileService {
    private static final boolean DBG = false;
    private static final String TAG = "BatteryService";
    private static final boolean DBG = Log.isLoggable(TAG, Log.DEBUG);

    // Timeout for state machine thread join, to prevent potential ANR.
    private static final int SM_THREAD_JOIN_TIMEOUT_MS = 1_000;