Diff between 352a275e53f811018da9eed172bd688cb9a3b880 and 6dafdbdf54c261ae80ba3ac76f9d488985d7a101
Changed Files
| File | Additions | Deletions | Status |
| android/health.c | +3 | -0 | modified |
Full Patch
diff --git a/android/health.c b/android/health.c
index de71aa7..3786504 100644
--- a/android/health.c
+++ b/android/health.c
@@ -1213,6 +1213,9 @@ static struct health_channel *connect_channel(struct mcap_mcl *mcl,
channel = create_channel(app, mdepid, device);
}
+ /* Device is created here */
+ mcl->cb->user_data = channel;
+
return channel;
}