Loading src/main/java/ecorp/easy/installer/helpers/DeviceHelper.java +2 −2 Original line number Diff line number Diff line Loading @@ -78,11 +78,11 @@ public class DeviceHelper { * Returns true if the device is blacklisted. A blaclisted device embeds flashs scripts but * is not detected by the Easy installer (use case Murena ROM has an issue we nned to wait for the next ROM release * but developping procces is allowed). * @param key the ADB device code's name (example: Samsung galaxy S7 => herolte) * @param key the ADB device code's name (example: Samsung galaxy S7 => herolte comma separated) * @return can return null if no key matches */ public static boolean isDeviceBlacklisted(String key){ List<String> blaclisted = Arrays.asList("OnePlus8Pro", "OnePlus8"); List<String> blaclisted = Arrays.asList(); return blaclisted.contains(key); } Loading Loading
src/main/java/ecorp/easy/installer/helpers/DeviceHelper.java +2 −2 Original line number Diff line number Diff line Loading @@ -78,11 +78,11 @@ public class DeviceHelper { * Returns true if the device is blacklisted. A blaclisted device embeds flashs scripts but * is not detected by the Easy installer (use case Murena ROM has an issue we nned to wait for the next ROM release * but developping procces is allowed). * @param key the ADB device code's name (example: Samsung galaxy S7 => herolte) * @param key the ADB device code's name (example: Samsung galaxy S7 => herolte comma separated) * @return can return null if no key matches */ public static boolean isDeviceBlacklisted(String key){ List<String> blaclisted = Arrays.asList("OnePlus8Pro", "OnePlus8"); List<String> blaclisted = Arrays.asList(); return blaclisted.contains(key); } Loading