Diff between 73f26e34e8c642bf493a63fe14f005563a19d183 and 1e0e4dfde28e86018a334de53dd5c1349370e099
Changed Files
| File | Additions | Deletions | Status |
| android/bluetooth.c | +2 | -1 | modified |
Full Patch
diff --git a/android/bluetooth.c b/android/bluetooth.c
index 17a8def..505d5a7 100644
--- a/android/bluetooth.c
+++ b/android/bluetooth.c
@@ -1064,7 +1064,8 @@ static void update_found_device(const bdaddr_t *bdaddr, uint8_t bdaddr_type,
(*num_prop)++;
}
- ipc_send_notif(HAL_SERVICE_ID_BLUETOOTH, opcode, size, buf);
+ if (*num_prop)
+ ipc_send_notif(HAL_SERVICE_ID_BLUETOOTH, opcode, size, buf);
if (confirm) {
char addr[18];