Fix log spam in getCharacteristicById()
am: 1591d36
* commit '1591d368d3275276b35161810d42c6a5d9e8b43f':
Fix log spam in getCharacteristicById()
Change-Id: I7ce3de2609c7c6bca09ad6866e6d904aeb416535
This commit is contained in:
@@ -545,7 +545,6 @@ public final class BluetoothGatt implements BluetoothProfile {
|
|||||||
/*package*/ BluetoothGattCharacteristic getCharacteristicById(BluetoothDevice device, int instanceId) {
|
/*package*/ BluetoothGattCharacteristic getCharacteristicById(BluetoothDevice device, int instanceId) {
|
||||||
for(BluetoothGattService svc : mServices) {
|
for(BluetoothGattService svc : mServices) {
|
||||||
for(BluetoothGattCharacteristic charac : svc.getCharacteristics()) {
|
for(BluetoothGattCharacteristic charac : svc.getCharacteristics()) {
|
||||||
Log.w(TAG, "getCharacteristicById() comparing " + charac.getInstanceId() + " and " + instanceId);
|
|
||||||
if (charac.getInstanceId() == instanceId)
|
if (charac.getInstanceId() == instanceId)
|
||||||
return charac;
|
return charac;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user