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

Commit 277313a5 authored by frankpreel's avatar frankpreel Committed by Nicolas Gelot
Browse files

Allows the detection of On official ROM and on /e/ rom

parent 3fde1b5c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -151,6 +151,10 @@ public class DeviceDetectionTask extends Task<Phone>{
                    if (device.equals("Teracube_2e") && !datas[0].startsWith("2020")) {
                            device ="emerald";  
                    } 
                    // OnePlus Nord 
                    else if (device.equals("Nord") && "AC2003".equals(result.getAdbModel())) {
                        device ="OnePlusNord";
                    }

                    //if(device.equals("k63v2_64_bsp")) device="GS290"; //bad idea. Device not really compatible.
                    result.setAdbDevice(device);