mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
71b50a1c6f
commit
a0b343aa62
|
@ -890,7 +890,7 @@ public class Helper {
|
|||
}
|
||||
}
|
||||
|
||||
if (state.roaming && rlah)
|
||||
if (state.roaming != null && state.roaming && rlah)
|
||||
try {
|
||||
TelephonyManager tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
|
||||
if (tm != null) {
|
||||
|
|
Loading…
Reference in New Issue