Commit Graph

2 Commits

Author SHA1 Message Date
Daniel Friederich
b4f5083d00 Change AdbFilterInputStream.read not to wait for more data
The previous AdbFilterInputStream.read function was always waiting for
buffer to fill, even if this meant to block for a long time. Now it checks
if the next read will block. The one case it still could block, when
reading a 0xd (carriage return) is not expected to occur for interactive
output (at least as the last character of some input).
This removes the need for a separate executeShellRaw method.
2016-11-07 09:42:06 +01:00
Samuel Carlsson
8cee1088a8 The shell command now returns InputStream. 2016-04-27 20:39:14 +02:00