diff options
| author | 2014-10-20 21:41:28 +0000 | |
|---|---|---|
| committer | 2014-10-20 21:41:29 +0000 | |
| commit | 33bb6c2d3ca798c8275694d0fe700e9fb1fefe99 (patch) | |
| tree | 79c9909ca83e38c4da4e2567ad18f976cdaed35a | |
| parent | ae6dc92c3d39862e97a778ea69943ee37a78e92b (diff) | |
| parent | 020bd7b861dfd560fad9f761f2778ebbac8be20e (diff) | |
Merge "Remove spammy log information for BLE scan." into lmp-sprout-dev
| -rw-r--r-- | core/java/android/bluetooth/le/BluetoothLeScanner.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/bluetooth/le/BluetoothLeScanner.java b/core/java/android/bluetooth/le/BluetoothLeScanner.java index a57c3ca25a9b..93ea299bc8dd 100644 --- a/core/java/android/bluetooth/le/BluetoothLeScanner.java +++ b/core/java/android/bluetooth/le/BluetoothLeScanner.java @@ -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()); } |