Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a75847a authored by Naveen Kalla's avatar Naveen Kalla Committed by Steve Kondik
Browse files

Correct VM number updation during MBDN refresh.

The voice mail number and voice mail tag are not getting updated properly
during MBDN refresh. When the data in MBDN EF is invalid, the voice mail
number and voice mail tag are unchanged. They retain their previous value
where as they should be null in this case.

Change-Id: Ic3b9cb4cdf3ee5d2a33fc7e47cac968e752a0940
parent b27e167d
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -559,6 +559,13 @@ public final class SIMRecords extends IccRecords {
                break;
                break;
            case EVENT_GET_CPHS_MAILBOX_DONE:
            case EVENT_GET_CPHS_MAILBOX_DONE:
            case EVENT_GET_MBDN_DONE:
            case EVENT_GET_MBDN_DONE:
                //Resetting the voice mail number and voice mail tag to null
                //as these should be updated from the data read from EF_MBDN.
                //If they are not reset, incase of invalid data/exception these
                //variables are retaining their previous values and are
                //causing invalid voice mailbox info display to user.
                voiceMailNum = null;
                voiceMailTag = null;
                isRecordLoadResponse = true;
                isRecordLoadResponse = true;


                ar = (AsyncResult)msg.obj;
                ar = (AsyncResult)msg.obj;