Merge "NullPointerException at handleMessage(GSMPhone.java)"
This commit is contained in:
@@ -1227,7 +1227,8 @@ public class GSMPhone extends PhoneBase {
|
||||
// Check if this is a different SIM than the previous one. If so unset the
|
||||
// voice mail number.
|
||||
String imsi = getVmSimImsi();
|
||||
if (imsi != null && !getSubscriberId().equals(imsi)) {
|
||||
String imsiFromSIM = getSubscriberId();
|
||||
if (imsi != null && imsiFromSIM != null && !imsiFromSIM.equals(imsi)) {
|
||||
storeVoiceMailNumber(null);
|
||||
setVmSimImsi(null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user