mirror of
https://github.com/revanced/jadb.git
synced 2025-05-29 21:00:16 +02: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;
|
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 {
|
public InputStream executeShell(String command, String... args) throws IOException, JadbException {
|
||||||
Transport transport = getTransport();
|
Transport transport = getTransport();
|
||||||
StringBuilder shellLine = new StringBuilder(command);
|
StringBuilder shellLine = new StringBuilder(command);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user