summaryrefslogtreecommitdiffstats
path: root/src/com/android/bluetooth/hid
diff options
context:
space:
mode:
authorMatthew Xie <mattx@google.com>2012-10-07 23:46:41 -0700
committerMatthew Xie <mattx@google.com>2012-10-07 23:48:21 -0700
commitfd1da115cbf09b7dd9bca3c7d3a4fb816a835dc5 (patch)
tree69350d7a51e29cbed678cc270223336850d78b32 /src/com/android/bluetooth/hid
parent344036be03c7bb0ef5eb101416b122152b61ca0c (diff)
downloadandroid_packages_apps_Bluetooth-fd1da115cbf09b7dd9bca3c7d3a4fb816a835dc5.tar.gz
android_packages_apps_Bluetooth-fd1da115cbf09b7dd9bca3c7d3a4fb816a835dc5.tar.bz2
android_packages_apps_Bluetooth-fd1da115cbf09b7dd9bca3c7d3a4fb816a835dc5.zip
Turn off dbg messages, be prepared for production build
bug 7174712 Change-Id: I58747ec6507da8ea8ae27a182b601aaf626ede42
Diffstat (limited to 'src/com/android/bluetooth/hid')
-rwxr-xr-xsrc/com/android/bluetooth/hid/HidService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/bluetooth/hid/HidService.java b/src/com/android/bluetooth/hid/HidService.java
index f15692c84..8d38e0ee9 100755
--- a/src/com/android/bluetooth/hid/HidService.java
+++ b/src/com/android/bluetooth/hid/HidService.java
@@ -34,7 +34,7 @@ import com.android.bluetooth.btservice.AdapterService;
* @hide
*/
public class HidService extends ProfileService {
- private static final boolean DBG = true;
+ private static final boolean DBG = false;
private static final String TAG = "HidService";
private Map<BluetoothDevice, Integer> mInputDevices;
@@ -555,7 +555,7 @@ public class HidService extends ProfileService {
/* Notifying the connection state change of the profile before sending the intent for
connection state change, as it was causing a race condition, with the UI not being
updated with the correct connection state. */
- if (DBG) log("Connection state " + device + ": " + prevState + "->" + newState);
+ log("Connection state " + device + ": " + prevState + "->" + newState);
notifyProfileConnectionStateChanged(device, BluetoothProfile.INPUT_DEVICE,
newState, prevState);
Intent intent = new Intent(BluetoothInputDevice.ACTION_CONNECTION_STATE_CHANGED);