am 33bb6c2d: Merge "Remove spammy log information for BLE scan." into lmp-sprout-dev
* commit '33bb6c2d3ca798c8275694d0fe700e9fb1fefe99': Remove spammy log information for BLE scan.
This commit is contained in:
@@ -51,6 +51,7 @@ public final class BluetoothLeScanner {
|
|||||||
|
|
||||||
private static final String TAG = "BluetoothLeScanner";
|
private static final String TAG = "BluetoothLeScanner";
|
||||||
private static final boolean DBG = true;
|
private static final boolean DBG = true;
|
||||||
|
private static final boolean VDBG = false;
|
||||||
|
|
||||||
private final IBluetoothManager mBluetoothManager;
|
private final IBluetoothManager mBluetoothManager;
|
||||||
private final Handler mHandler;
|
private final Handler mHandler;
|
||||||
@@ -317,7 +318,7 @@ public final class BluetoothLeScanner {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void onScanResult(final ScanResult scanResult) {
|
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
|
// Check null in case the scan has been stopped
|
||||||
synchronized (this) {
|
synchronized (this) {
|
||||||
@@ -346,7 +347,7 @@ public final class BluetoothLeScanner {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onFoundOrLost(final boolean onFound, final ScanResult scanResult) {
|
public void onFoundOrLost(final boolean onFound, final ScanResult scanResult) {
|
||||||
if (DBG) {
|
if (VDBG) {
|
||||||
Log.d(TAG, "onFoundOrLost() - onFound = " + onFound +
|
Log.d(TAG, "onFoundOrLost() - onFound = " + onFound +
|
||||||
" " + scanResult.toString());
|
" " + scanResult.toString());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user