From 22b6e8e03ff7e3f8284f20c61a3b3e4318e21786 Mon Sep 17 00:00:00 2001 From: Samuel Carlsson Date: Fri, 22 Jul 2016 16:06:55 +0200 Subject: [PATCH] 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. --- src/se/vidstige/jadb/JadbDevice.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/se/vidstige/jadb/JadbDevice.java b/src/se/vidstige/jadb/JadbDevice.java index 4af16f8..d2afcbb 100644 --- a/src/se/vidstige/jadb/JadbDevice.java +++ b/src/se/vidstige/jadb/JadbDevice.java @@ -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);