From f3b62cf14eb97f031d2e971309917115219e5dcf Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Thu, 27 Mar 2014 12:33:33 +0100 Subject: [PATCH] android/bluetooth: Don't send notification when setting device name It is not needed to send notification when friendly name of remote device is being set. Java already cache proper value. This was also triggering exception in Java code (bug). --- android/bluetooth.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/android/bluetooth.c b/android/bluetooth.c index adf7c56b9..4ed7dabc0 100644 --- a/android/bluetooth.c +++ b/android/bluetooth.c @@ -3464,9 +3464,6 @@ static uint8_t set_device_friendly_name(struct device *dev, const uint8_t *val, else store_device_info(dev, CACHE_FILE); - send_device_property(&dev->bdaddr, HAL_PROP_DEVICE_FRIENDLY_NAME, - strlen(dev->friendly_name), dev->friendly_name); - return HAL_STATUS_SUCCESS; } -- 2.47.3