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

Method isKilling

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

Source from the content-addressed store, hash-verified

1796 }
1797
1798 static boolean isKilling() {
1799 // https://dontkillmyapp.com/
1800 return (isSamsung() ||
1801 isOnePlus() ||
1802 isHuawei() ||
1803 isXiaomi() ||
1804 isMeizu() ||
1805 isAsus() ||
1806 isWiko() ||
1807 isLenovo() ||
1808 isOppo() ||
1809 isVivo() ||
1810 isRealme() ||
1811 isBlackview() ||
1812 isSony() ||
1813 isUiThread());
1814 }
1815
1816 static boolean isAggressivelyKilling() {
1817 return (BuildConfig.DEBUG ||

Callers 1

onCreateDialogMethod · 0.95

Calls 14

isSamsungMethod · 0.95
isOnePlusMethod · 0.95
isHuaweiMethod · 0.95
isXiaomiMethod · 0.95
isMeizuMethod · 0.95
isAsusMethod · 0.95
isWikoMethod · 0.95
isLenovoMethod · 0.95
isOppoMethod · 0.95
isVivoMethod · 0.95
isRealmeMethod · 0.95
isBlackviewMethod · 0.95

Tested by

no test coverage detected