diff --git a/src/se/vidstige/jadb/JadbDevice.java b/src/se/vidstige/jadb/JadbDevice.java index 823c4eb..0909264 100644 --- a/src/se/vidstige/jadb/JadbDevice.java +++ b/src/se/vidstige/jadb/JadbDevice.java @@ -58,6 +58,12 @@ public class JadbDevice { return new AdbFilterInputStream(new BufferedInputStream(transport.getInputStream())); } + /** + * + * @deprecated Use InputStream executeShell(String command, String... args) method instead. Together with + * Stream.copy(in, out), it is possible to achieve the same effect. + */ + @Deprecated public void executeShell(OutputStream output, String command, String... args) throws IOException, JadbException { Transport transport = getTransport(); StringBuilder shellLine = new StringBuilder(command);