Diff between 96db78604252eeb17614b9982ced95fd66c6c6fc and b84eff92dfcb1feb1493ecb6fe48f9a7ff548934

Changed Files

File Additions Deletions Status
android/gatt.c +1 -0 modified

Full Patch

diff --git a/android/gatt.c b/android/gatt.c
index 4da959f..72a27ab 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -1972,6 +1972,7 @@ static bool trigger_connection(struct app_connection *conn, bool direct)
 		if (direct)
 			return connect_le(conn->device) == 0;
 
+		bt_gatt_add_autoconnect(conn->app->id, &conn->device->bdaddr);
 		return auto_connect_le(conn->device);
 	case DEVICE_CONNECTED:
 		notify_app_connect_status(conn, GATT_SUCCESS);