mirror of
https://github.com/revanced/jadb.git
synced 2025-02-14 02:56:48 +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,
|
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…
x
Reference in New Issue
Block a user