summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/fake_bluetooth_gatt_descriptor_client.cc
diff options
context:
space:
mode:
authorbeaufort.francois <beaufort.francois@gmail.com>2015-08-24 13:09:37 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-24 20:10:22 +0000
commit44502b91320591e139623054a2069115d13d5b9e (patch)
tree710465a323ff70864d88f1cc844af4c3ebae4042 /chromeos/dbus/fake_bluetooth_gatt_descriptor_client.cc
parentcbeb988c094252b4af5b240b557faa0c50c4b2dc (diff)
downloadchromium_src-44502b91320591e139623054a2069115d13d5b9e.zip
chromium_src-44502b91320591e139623054a2069115d13d5b9e.tar.gz
chromium_src-44502b91320591e139623054a2069115d13d5b9e.tar.bz2
Fixed bluetooth read write not supported errors
BUG=522847 Review URL: https://codereview.chromium.org/1307153002 Cr-Commit-Position: refs/heads/master@{#345158}
Diffstat (limited to 'chromeos/dbus/fake_bluetooth_gatt_descriptor_client.cc')
-rw-r--r--chromeos/dbus/fake_bluetooth_gatt_descriptor_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromeos/dbus/fake_bluetooth_gatt_descriptor_client.cc b/chromeos/dbus/fake_bluetooth_gatt_descriptor_client.cc
index f1f30f5..5ff9bf4 100644
--- a/chromeos/dbus/fake_bluetooth_gatt_descriptor_client.cc
+++ b/chromeos/dbus/fake_bluetooth_gatt_descriptor_client.cc
@@ -136,7 +136,7 @@ void FakeBluetoothGattDescriptorClient::WriteValue(
// Since the only fake descriptor is "Client Characteristic Configuration"
// and BlueZ doesn't allow writing to it, return failure.
- error_callback.Run("org.bluez.Error.WriteNotPermitted",
+ error_callback.Run("org.bluez.Error.NotPermitted",
"Writing to the Client Characteristic Configuration "
"descriptor not allowed");
}