diff options
Diffstat (limited to 'device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc')
-rw-r--r-- | device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc b/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc index f3ab385..d8d0299 100644 --- a/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc +++ b/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc @@ -208,8 +208,7 @@ void BluetoothRemoteGattCharacteristicAndroid::OnChanged( const JavaParamRef<jobject>& jcaller, const JavaParamRef<jbyteArray>& value) { base::android::JavaByteArrayToByteVector(env, value, &value_); - FOR_EACH_OBSERVER(BluetoothAdapter::Observer, adapter_->GetObservers(), - GattCharacteristicValueChanged(adapter_, this, value_)); + adapter_->NotifyGattCharacteristicValueChanged(this, value_); } void BluetoothRemoteGattCharacteristicAndroid::OnRead( |