android_calculator-30: GUI deffect
This commit is contained in:
parent
2df2574329
commit
03081abb85
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user