Add recovery state supoort

This commit is contained in:
ErnyTech Team 2017-10-08 17:08:56 +02:00 committed by GitHub
parent 4332cd6ab8
commit 1aebcaee1d

View File

@ -11,6 +11,7 @@ public class JadbDevice {
Unknown,
Offline,
Device,
Recovery,
BootLoader
};
@ -36,6 +37,7 @@ public class JadbDevice {
case "device": return State.Device;
case "offline": return State.Offline;
case "bootloader": return State.BootLoader;
case "recovery" : return State.Recovery;
default: return State.Unknown;
}
}