MCPcopy Create free account
hub / github.com/M66B/FairEmail / isRedmiNote

Method isRedmiNote

app/src/main/java/eu/faircode/email/Helper.java:1680–1688  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1678 }
1679
1680 static boolean isRedmiNote() {
1681 // Manufacturer: Xiaomi
1682 // Model: Redmi Note 8 Pro
1683 // Model: Redmi Note 10S
1684 return isXiaomi() &&
1685 !TextUtils.isEmpty(Build.MODEL) &&
1686 Build.MODEL.toLowerCase(Locale.ROOT).contains("redmi") &&
1687 Build.MODEL.toLowerCase(Locale.ROOT).contains("note");
1688 }
1689
1690 static boolean isMeizu() {
1691 return "Meizu".equalsIgnoreCase(Build.MANUFACTURER);

Callers 2

checkRedmiNoteMethod · 0.95
initMethod · 0.95

Calls 3

isXiaomiMethod · 0.95
isEmptyMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected