Merge "Fix log spam in getCharacteristicById()"
am: 7bf9e19
* commit '7bf9e19892434a256a9cbef63ab7ff958df32436':
Fix log spam in getCharacteristicById()
Change-Id: I980c8e7f169b565f068c949bc6740650518ecc19
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