mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Prevent crash
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user