android_calculator-30: GUI deffect

This commit is contained in:
Sergey Solovyev 2012-01-09 14:18:27 +04:00
parent 2df2574329
commit 03081abb85

View File

@ -79,6 +79,18 @@ public final class AndroidUtils {
}
}
if (result) {
String buildId = Build.DISPLAY;
if (buildId != null) {
buildId = buildId.toUpperCase();
if (buildId.contains("MIUI")) {
// fix for MIUI ROM
result = false;
Log.i(AndroidUtils.class.getName(), "Device build doesn't support center and wrap of tabs: " + Build.DISPLAY);
}
}
}
return result;
}