Merge "Correct VM number updation during MBDN refresh."

This commit is contained in:
Jean-Baptiste Queru
2010-07-22 11:38:05 -07:00
committed by Android Code Review

View File

@@ -560,6 +560,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;