mirror of
https://github.com/revanced/jadb.git
synced 2025-02-10 17:26:46 +01:00
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:
parent
a38d528b3f
commit
da3f09ff5f
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user