is Smartisan - Android android.system

Android examples for android.system:Os Version

Description

is Smartisan

Demo Code

import android.os.Build;

public class Main{

    public static boolean isSmartisan() {
        try {//  w w  w. j  ava  2  s .  c om
            return Build.BRAND.toLowerCase().contains("smartisan");
        } catch (Exception e) {
            e.printStackTrace();
            return false;
        }
    }

}

Related Tutorials