-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
It seems that for whatever reason DocumentActivity.openCore only reads from the stream once, assuming it will get all data in one call. This doesn't work correctly when the application producing the content writes it to the pipe in chunks. The documentation for InputStream.read specifically says that the function may read less bytes than expected, but that doesn't mean the end of stream. End of stream is signaled by reading 0 bytes and returning -1.
Metadata
Metadata
Assignees
Labels
No labels