vincetran/ConnActiv-Android-App — comment on commit efb73544d4b38585fca97dffaf8ce0a68aadb4f3
File: src/com/designs_1393/connactiv/stream.java line 144
By sjbarag:

So right now this times out in 3ms. This was just so I could ensure a timeout event. 3ms may be too fast to notice anything, so I probably should have tried 30ms or possibly longer. But yeah, this should eventually be like 3000ms=3s (ANRs tend to happen after 5s and it should probably be shorter than that for safety).