smccants
smccants
Google closed the original ticket with the typical practice of ignoring it for years, so I reopened it yesterday as https://issuetracker.google.com/issues/157508089 Today, a Google developer responsed with some questions, but...
Workaround: I use a timer in my app which calls "microphoneHelper.closeInputStream();". This seems to avoid the problem.
The problem was originally reported here: https://developer.ibm.com/answers/questions/435993/speech-to-text-oggopusencoder-hanging-on-close-aft.html?childToView=436412#answer-436412
I think I'm running into a slightly different flavor of this problem. Any update on when it might be fixed?
It looks like the hang is a result of this thread never exiting: ``` "Thread-5@5044" prio=5 tid=0x5c7 nid=NA waiting java.lang.Thread.State: WAITING blocks Thread-5@5044 at java.lang.Object.wait(Object.java:-1) at java.lang.Object.wait(Object.java:407) at java.io.PipedInputStream.awaitSpace(PipedInputStream.java:280) at...
Edited the ticket to improve readability.
Maybe related: https://stackoverflow.com/questions/59037486/cannot-debug-android-instrumentedtest-activityscenario-koin-mocck
@kkoser thanks for looking at this ticket. I spent about half a day trying to build a simple test case that would fail, but so far no luck. More interesting,...