Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8045984 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer Committed by Frank Preel
Browse files

Fine for me

parent 305a3848
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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.