Fix log spam in getCharacteristicById()

Bug: 27744135
Change-Id: I43f6358484729dedd85eb52432ad9805a66ff81e
This commit is contained in:
Andre Eisenbach
2016-03-29 18:55:57 -07:00
parent aac5bf1c1c
commit 1591d368d3

View File

@@ -545,7 +545,6 @@ public final class BluetoothGatt implements BluetoothProfile {
/*package*/ BluetoothGattCharacteristic getCharacteristicById(BluetoothDevice device, int instanceId) {
for(BluetoothGattService svc : mServices) {
for(BluetoothGattCharacteristic charac : svc.getCharacteristics()) {
Log.w(TAG, "getCharacteristicById() comparing " + charac.getInstanceId() + " and " + instanceId);
if (charac.getInstanceId() == instanceId)
return charac;
}