Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Apache License 

import android.os.Build;

import java.util.Arrays;

import java.util.List;

public class Main {
    static List<String> CELLPHONEBLACKLIST = Arrays.asList(new String[] { "d2spr" });

    private static boolean withinInBlackList() {
        if (CELLPHONEBLACKLIST.contains(Build.DEVICE)) {
            return true;
        }
        return false;
    }
}