mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-31 19:41:19 +00:00
Prevent crash
This commit is contained in:
parent
71b50a1c6f
commit
a0b343aa62
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue