public static boolean isMIUI(){
  String miuiVer=PropertyUtils.getQuickly("ro.miui.ui.version.name",null);
  return miuiVer != null && miuiVer.contains("V");
}

public static boolean isMIUI ( ) { String miuiVer = PropertyUtils . getQuickly ( "ro.miui.ui.version.name" , null ) ; return miuiVer != null && miuiVer . contains ( "V" ) ; }
check whether is miui
