Commit b1a1fea
fix(android): use AACP connected devices for socket liveness check
inputStream.available() returns 0 on dead sockets instead of throwing,
so it can't detect stale connections. Use aacpManager.connectedDevices
which is cleared on disconnect and only populated after successful
AACP handshake - a reliable indicator of actual socket health.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent aadcaf1 commit b1a1fea
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2428 | 2428 | | |
2429 | 2429 | | |
2430 | 2430 | | |
2431 | | - | |
| 2431 | + | |
2432 | 2432 | | |
2433 | 2433 | | |
2434 | 2434 | | |
| |||
0 commit comments