Removing getState, which was not working properly.

Tried to fix, by following the documentation found at https://github.com/android/platform_system_core/blob/master/adb/SERVICES.TXT, but to no avail.
This commit is contained in:
Samuel Carlsson 2016-07-22 16:06:55 +02:00
parent 94ebf380d8
commit 22b6e8e03f

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