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

Verified Commit 7a21fa2e authored by Frank Preel's avatar Frank Preel Committed by Nicolas Gelot
Browse files

Enable One plus 8x devices

parent cc6a9134
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
    }