equal
deleted
inserted
replaced
935 { |
935 { |
936 if (iStoreInfo.iName == iSlot.iStore) |
936 if (iStoreInfo.iName == iSlot.iStore) |
937 { |
937 { |
938 if ((iStoreInfo.iCaps & RMobilePhoneStore::KCapsWriteAccess) == 0) |
938 if ((iStoreInfo.iCaps & RMobilePhoneStore::KCapsWriteAccess) == 0) |
939 { |
939 { |
|
940 LOGSMSPROT2("CSmsMessageWrite::DoRunL left with KErrNotSuported [iState=%d]", iState); |
940 User::Leave(KErrNotSupported); |
941 User::Leave(KErrNotSupported); |
941 } |
942 } |
942 |
943 |
943 iState = ESmsMessageWriteWritingPDUs; |
944 iState = ESmsMessageWriteWritingPDUs; |
944 SegmentMessageL(); |
945 SegmentMessageL(); |
952 iSmsMessaging.GetMessageStoreInfo(iStatus, iCurrentStore, iStoreInfoPckg); |
953 iSmsMessaging.GetMessageStoreInfo(iStatus, iCurrentStore, iStoreInfoPckg); |
953 TimedSetActive(iSmsSettings.Timeout()); |
954 TimedSetActive(iSmsSettings.Timeout()); |
954 } |
955 } |
955 else |
956 else |
956 { |
957 { |
957 User::Leave(KErrNotFound); //< TODO Is this correct? |
958 LOGSMSPROT2("CSmsMessageWrite::DoRunL left with KErrNotFound [iState=%d]", iState); |
|
959 User::Leave(KErrNotFound); |
958 } |
960 } |
959 } |
961 } |
960 } |
962 } |
961 } |
963 } |
962 break; |
964 break; |