mirror of
https://github.com/revanced/jadb.git
synced 2025-05-03 08:04:34 +02:00
Merge pull request #19 from vidstige/fix/get-state
Removing `getState`, which was not working properly.
This commit is contained in:
commit
177ef9691c
@ -40,13 +40,6 @@ public class JadbDevice {
|
||||
return serial;
|
||||
}
|
||||
|
||||
public String getState() throws IOException, JadbException {
|
||||
Transport transport = getTransport();
|
||||
transport.send("get-state");
|
||||
transport.verifyResponse();
|
||||
return transport.readString();
|
||||
}
|
||||
|
||||
public InputStream executeShell(String command, String... args) throws IOException, JadbException {
|
||||
Transport transport = getTransport();
|
||||
StringBuilder shellLine = new StringBuilder(command);
|
||||
|
Loading…
x
Reference in New Issue
Block a user