| Index: device/bluetooth/test/bluetooth_test_android.cc
|
| diff --git a/device/bluetooth/test/bluetooth_test_android.cc b/device/bluetooth/test/bluetooth_test_android.cc
|
| index 7761f56d20d41783823e4209ac796678a2fa7933..56107225b7201c579c4651bdad7a37472403371e 100644
|
| --- a/device/bluetooth/test/bluetooth_test_android.cc
|
| +++ b/device/bluetooth/test/bluetooth_test_android.cc
|
| @@ -143,14 +143,15 @@ void BluetoothTestAndroid::SimulateGattServicesDiscoveryError(
|
|
|
| void BluetoothTestAndroid::SimulateGattCharacteristic(
|
| BluetoothGattService* service,
|
| - const std::string& uuid) {
|
| + const std::string& uuid,
|
| + int properties) {
|
| BluetoothRemoteGattServiceAndroid* service_android =
|
| static_cast<BluetoothRemoteGattServiceAndroid*>(service);
|
| JNIEnv* env = base::android::AttachCurrentThread();
|
|
|
| Java_FakeBluetoothGattService_addCharacteristic(
|
| env, service_android->GetJavaObject().obj(),
|
| - base::android::ConvertUTF8ToJavaString(env, uuid).obj());
|
| + base::android::ConvertUTF8ToJavaString(env, uuid).obj(), properties);
|
| }
|
|
|
| void BluetoothTestAndroid::OnFakeBluetoothDeviceConnectGattCalled(
|
|
|