am 38f53488: Merge "NullPointerException at handleMessage(GSMPhone.java)"
Merge commit '38f534882eb9214b4c1a8035990157f941762f85' into gingerbread-plus-aosp * commit '38f534882eb9214b4c1a8035990157f941762f85': NullPointerException at handleMessage(GSMPhone.java)
This commit is contained in:
committed by
Android Git Automerger
commit
965d533733
@@ -1223,7 +1223,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