mirror of
https://github.com/revanced/jadb.git
synced 2025-02-11 17:46:47 +01:00
Depricating the old executeShell method.
This commit is contained in:
parent
8cee1088a8
commit
0d60b34e7e
@ -58,6 +58,12 @@ public class JadbDevice {
|
|||||||
return new AdbFilterInputStream(new BufferedInputStream(transport.getInputStream()));
|
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 {
|
public void executeShell(OutputStream output, String command, String... args) throws IOException, JadbException {
|
||||||
Transport transport = getTransport();
|
Transport transport = getTransport();
|
||||||
StringBuilder shellLine = new StringBuilder(command);
|
StringBuilder shellLine = new StringBuilder(command);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user