mirror of
https://github.com/revanced/jadb.git
synced 2025-02-11 09:36:48 +01:00
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:
parent
94ebf380d8
commit
22b6e8e03f
@ -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