653 iMsgStateObserver->OperationCompleteL(aErrorCode); |
653 iMsgStateObserver->OperationCompleteL(aErrorCode); |
654 return; |
654 return; |
655 } |
655 } |
656 } |
656 } |
657 |
657 |
658 COMASuplGSMCellInfo* cellInfo; |
658 COMASuplGSMCellInfo* cellInfo = COMASuplGSMCellInfo::NewL(); |
659 COMASuplLocationId::TOMASuplStatus status; |
659 COMASuplLocationId::TOMASuplStatus status; |
660 aLocationId->SuplLocationId(cellInfo, status); |
660 TInt err = aLocationId->SuplLocationId(cellInfo, status); |
661 |
661 |
662 TInt refMNC,refMCC,refCI,refLac; |
662 if(err == KErrNone) |
663 cellInfo->SuplGSMCellInfo(refMNC,refMCC,refCI,refLac); |
663 { |
664 |
664 TInt refMNC,refMCC,refCI,refLac; |
665 COMASuplGSMCellInfo* cellInfoClone = COMASuplGSMCellInfo::NewL(); |
665 cellInfo->SuplGSMCellInfo(refMNC,refMCC,refCI,refLac); |
666 cellInfoClone->SetSuplGSMCellInfo(refMNC,refMCC,refCI,refLac); |
666 |
667 iLocationId2->SetSuplLocationId(cellInfoClone, status); |
667 COMASuplGSMCellInfo* cellInfoClone = COMASuplGSMCellInfo::NewL(); |
668 |
668 cellInfoClone->SetSuplGSMCellInfo(refMNC,refMCC,refCI,refLac); |
669 iLocationId = aLocationId; |
669 iLocationId2->SetSuplLocationId(cellInfoClone, status); |
670 |
670 |
671 if(iECId) |
671 iLocationId = aLocationId; |
672 { |
672 |
673 iTrace->Trace(_L("COMASuplStartState::LocationIDRequestCompletedL...Retrive E-CellId"), KTraceFileName, __LINE__); |
673 if(iECId) |
674 iGenerationStatus = ETrue; |
674 { |
675 iLocationIDRequestor->GetECellID(); |
675 iTrace->Trace(_L("COMASuplStartState::LocationIDRequestCompletedL...Retrive E-CellId"), KTraceFileName, __LINE__); |
|
676 iGenerationStatus = ETrue; |
|
677 iLocationIDRequestor->GetECellID(); |
|
678 } |
|
679 else |
|
680 { |
|
681 GetAssistceDataFromPluginL(aErrorCode); |
|
682 } |
676 } |
683 } |
677 else |
|
678 { |
|
679 GetAssistceDataFromPluginL(aErrorCode); |
|
680 } |
|
681 } |
684 } |
682 |
685 |
683 // ----------------------------------------------------------------------------- |
686 // ----------------------------------------------------------------------------- |
684 // COMASuplStartState::LocationECellIdRequestCompletedL |
687 // COMASuplStartState::LocationECellIdRequestCompletedL |
685 // Gets called when E-Cell Id location request completed |
688 // Gets called when E-Cell Id location request completed |