add 'rescue' into JadbDevice.State

'rescue' mode was added in below CL:
https://android-review.googlesource.com/c/platform/system/core/+/946765
This commit is contained in:
cfig 2020-01-20 15:46:43 +08:00
parent a38d528b3f
commit da3f09ff5f
No known key found for this signature in database
GPG Key ID: B104C307F0FDABB7
1 changed files with 3 additions and 1 deletions

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;
}
}