Merge pull request #19 from vidstige/fix/get-state

Removing `getState`, which was not working properly.
This commit is contained in:
Samuel Carlsson 2016-07-22 16:15:01 +02:00 committed by GitHub
commit 177ef9691c

View File

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