Depricating the old executeShell method.

This commit is contained in:
Samuel Carlsson 2016-04-27 20:32:09 +02:00
parent 8cee1088a8
commit 0d60b34e7e

View File

@ -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);