Prevent crash

pull/156/head
M66B 5 years ago
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…
Cancel
Save