Fix log spam in getCharacteristicById() am: 1591d36
am: 6fbbf9f
* commit '6fbbf9f7acfaefc178769e208cfea136d63104f8':
Fix log spam in getCharacteristicById()
Change-Id: I74a4554a83a98c8941b2073547fd7aad7b27089a
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user