mirror of
https://github.com/revanced/jadb.git
synced 2025-05-04 08:34:25 +02:00
Add recovery state supoort
This commit is contained in:
parent
4332cd6ab8
commit
1aebcaee1d
@ -11,6 +11,7 @@ public class JadbDevice {
|
|||||||
Unknown,
|
Unknown,
|
||||||
Offline,
|
Offline,
|
||||||
Device,
|
Device,
|
||||||
|
Recovery,
|
||||||
BootLoader
|
BootLoader
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -36,6 +37,7 @@ public class JadbDevice {
|
|||||||
case "device": return State.Device;
|
case "device": return State.Device;
|
||||||
case "offline": return State.Offline;
|
case "offline": return State.Offline;
|
||||||
case "bootloader": return State.BootLoader;
|
case "bootloader": return State.BootLoader;
|
||||||
|
case "recovery" : return State.Recovery;
|
||||||
default: return State.Unknown;
|
default: return State.Unknown;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user