1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-31 19:41:19 +00:00

Prevent crash

This commit is contained in:
M66B 2019-05-11 12:42:37 +02:00
parent 71b50a1c6f
commit a0b343aa62

View file

@ -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) {