Index: chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc |
diff --git a/chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc b/chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc |
index 71a03c814ac2b35fb8801515cb3dd43fa3d962be..61bbb8dd92042fa88f0776c960b69cc999cc28ec 100644 |
--- a/chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc |
+++ b/chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc |
@@ -149,7 +149,7 @@ void FakeBluetoothGattCharacteristicClient::ReadValue( |
} |
if (object_path.value() == heart_rate_control_point_path_) { |
- error_callback.Run("org.bluez.Error.ReadNotPermitted", |
+ error_callback.Run("org.bluez.Error.NotPermitted", |
"Reads of this value are not allowed"); |
return; |
} |
@@ -226,7 +226,7 @@ void FakeBluetoothGattCharacteristicClient::WriteValue( |
} |
if (object_path.value() != heart_rate_control_point_path_) { |
- error_callback.Run("org.bluez.Error.WriteNotPermitted", |
+ error_callback.Run("org.bluez.Error.NotPermitted", |
"Writes of this value are not allowed"); |
return; |
} |