mirror of
https://github.com/revanced/jadb.git
synced 2024-06-02 11:26:12 +02:00
Merge pull request #127 from cfig/master
add 'rescue' into JadbDevice.State
This commit is contained in:
commit
d65c8b39d4
|
@ -1,3 +1,5 @@
|
||||||
language: java
|
language: java
|
||||||
|
jdk:
|
||||||
|
- openjdk8
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
|
@ -17,7 +17,8 @@ public class JadbDevice {
|
||||||
Unauthorized,
|
Unauthorized,
|
||||||
Authorizing,
|
Authorizing,
|
||||||
Sideload,
|
Sideload,
|
||||||
Connecting
|
Connecting,
|
||||||
|
Rescue
|
||||||
}
|
}
|
||||||
|
|
||||||
//noinspection OctalInteger
|
//noinspection OctalInteger
|
||||||
|
@ -50,6 +51,7 @@ public class JadbDevice {
|
||||||
case "authorizing" : return State.Authorizing;
|
case "authorizing" : return State.Authorizing;
|
||||||
case "connecting": return State.Connecting;
|
case "connecting": return State.Connecting;
|
||||||
case "sideload": return State.Sideload;
|
case "sideload": return State.Sideload;
|
||||||
|
case "rescue" : return State.Rescue;
|
||||||
default: return State.Unknown;
|
default: return State.Unknown;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user