Merge "Turn off verbose debug message in BluetoothAdapter Change-Id: I30245ab911b5428f7af38f195b941db02d36b18f" into jb-mr1-dev

This commit is contained in:
Matthew Xie
2012-08-29 16:30:14 -07:00
committed by Android (Google) Code Review

View File

@@ -75,6 +75,7 @@ import java.util.UUID;
public final class BluetoothAdapter {
private static final String TAG = "BluetoothAdapter";
private static final boolean DBG = true;
private static final boolean VDBG = false;
/**
* Sentinel error value for this class. Guaranteed to not equal any other
@@ -465,7 +466,7 @@ public final class BluetoothAdapter {
if (mService != null)
{
int state= mService.getState();
if (DBG) Log.d(TAG, "" + hashCode() + ": getState(). Returning " + state);
if (VDBG) Log.d(TAG, "" + hashCode() + ": getState(). Returning " + state);
return state;
}
// TODO(BT) there might be a small gap during STATE_TURNING_ON that