Loading src/main/java/ecorp/easy/installer/tasks/DeviceDetectionTask.java +2 −4 Original line number Diff line number Diff line Loading @@ -148,10 +148,8 @@ public class DeviceDetectionTask extends Task<Phone>{ String device = stringPart.substring("device:".length() ); // Teracube, going to assume that anything that starts with 2020 is "2e", otherwise it's "emerald". if(device.equals("Teracube_2e")) { if (device.equals("Teracube_2e") && !datas[0].startsWith("2020")) { device ="emerald"; if (datas[0].startsWith("2020")) device ="Teracube_2e"; } //if(device.equals("k63v2_64_bsp")) device="GS290"; //bad idea. Device not really compatible. Loading Loading
src/main/java/ecorp/easy/installer/tasks/DeviceDetectionTask.java +2 −4 Original line number Diff line number Diff line Loading @@ -148,10 +148,8 @@ public class DeviceDetectionTask extends Task<Phone>{ String device = stringPart.substring("device:".length() ); // Teracube, going to assume that anything that starts with 2020 is "2e", otherwise it's "emerald". if(device.equals("Teracube_2e")) { if (device.equals("Teracube_2e") && !datas[0].startsWith("2020")) { device ="emerald"; if (datas[0].startsWith("2020")) device ="Teracube_2e"; } //if(device.equals("k63v2_64_bsp")) device="GS290"; //bad idea. Device not really compatible. Loading