Prevent crash

This commit is contained in:
M66B 2019-05-11 12:42:37 +02:00
parent 71b50a1c6f
commit a0b343aa62
1 changed files with 1 additions and 1 deletions

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