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

Commit d38150d3 authored by Wei Wang's avatar Wei Wang
Browse files

Remove spammy log information for BLE scan.

Bug:17574681
Change-Id: Ic5761ad7262200f38f2b67659c37f8a3f01d80d5
parent bbabb848
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -51,6 +51,7 @@ public final class BluetoothLeScanner {

    private static final String TAG = "BluetoothLeScanner";
    private static final boolean DBG = true;
    private static final boolean VDBG = false;

    private final IBluetoothManager mBluetoothManager;
    private final Handler mHandler;
@@ -317,7 +318,7 @@ public final class BluetoothLeScanner {
         */
        @Override
        public void onScanResult(final ScanResult scanResult) {
            if (DBG) Log.d(TAG, "onScanResult() - " + scanResult.toString());
            if (VDBG) Log.d(TAG, "onScanResult() - " + scanResult.toString());

            // Check null in case the scan has been stopped
            synchronized (this) {
@@ -346,7 +347,7 @@ public final class BluetoothLeScanner {

        @Override
        public void onFoundOrLost(final boolean onFound, final ScanResult scanResult) {
            if (DBG) {
            if (VDBG) {
                Log.d(TAG, "onFoundOrLost() - onFound = " + onFound +
                        " " + scanResult.toString());
            }