mirror of
https://github.com/revanced/jadb.git
synced 2025-02-11 17:46:47 +01:00
Method signature for push
This commit is contained in:
parent
0e02f9d7d8
commit
97dc3819cc
@ -27,12 +27,18 @@ public class AndroidDevice {
|
|||||||
for (String arg : args)
|
for (String arg : args)
|
||||||
{
|
{
|
||||||
shellLine.append(" ");
|
shellLine.append(" ");
|
||||||
|
// TODO: throw if arg contains double quote
|
||||||
|
// TODO: quote arg if it contains space
|
||||||
shellLine.append(arg);
|
shellLine.append(arg);
|
||||||
}
|
}
|
||||||
send("shell:" + shellLine.toString());
|
send("shell:" + shellLine.toString());
|
||||||
transport.verifyResponse();
|
transport.verifyResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void push(String localPath, String remotePath) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
private void send(String command) throws IOException {
|
private void send(String command) throws IOException {
|
||||||
transport.send(getPrefix() + command);
|
transport.send(getPrefix() + command);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user