Diff between 71677f06b0830c99c08347d1a7992a5e9ee454ef and 424b25f1640b6eeeac2e20fdea14de90345cb435
Changed Files
| File | Additions | Deletions | Status |
| android/health.c | +8 | -1 | modified |
Full Patch
diff --git a/android/health.c b/android/health.c
index 30a6166..3afdf9b 100644
--- a/android/health.c
+++ b/android/health.c
@@ -1057,7 +1057,14 @@ static void mcap_mdl_connected_cb(struct mcap_mdl *mdl, void *data)
static void mcap_mdl_closed_cb(struct mcap_mdl *mdl, void *data)
{
- DBG("Not Implemeneted");
+ struct health_channel *channel = data;
+
+ info("MDL closed");
+
+ if (!channel)
+ return;
+
+ channel->mdl_conn = false;
}
static void notify_channel(void *data, void *user_data)