Merge pull request #127 from cfig/master

add 'rescue' into JadbDevice.State
This commit is contained in:
Samuel Carlsson 2020-08-10 12:36:15 +02:00 committed by GitHub
commit d65c8b39d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,5 @@
language: java
jdk:
- openjdk8
after_success:
- bash <(curl -s https://codecov.io/bash)

View File

@ -17,7 +17,8 @@ public class JadbDevice {
Unauthorized,
Authorizing,
Sideload,
Connecting
Connecting,
Rescue
}
//noinspection OctalInteger
@ -50,6 +51,7 @@ public class JadbDevice {
case "authorizing" : return State.Authorizing;
case "connecting": return State.Connecting;
case "sideload": return State.Sideload;
case "rescue" : return State.Rescue;
default: return State.Unknown;
}
}