Notice nothing, as this is only visible with larger files.
But add a Thread.sleep(10000) near the OutputStream code and you will get a "Not Responding"
I'm not reporting a bug, just offering to contribute.
Guidelines require that I submit an issue first.
Use samples benefit from brevity, but it would be good not to teach bad habits.
I have a patch ready for submission, if you approve.
It just copies CreateFileActivity with small changes, showing 2 ways to address this.
Expected Behavior
I/O Operations do not block the UI Thread
Actual Behavior
Writing to file blocks UI
Steps to Reproduce the Problem
I'm not reporting a bug, just offering to contribute. Guidelines require that I submit an issue first.
Use samples benefit from brevity, but it would be good not to teach bad habits.
I have a patch ready for submission, if you approve.
It just copies CreateFileActivity with small changes, showing 2 ways to address this.