diff -r 60785a088077 -r 12b52b1a573e telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmsecuritytsy.cpp --- a/telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmsecuritytsy.cpp Mon Jul 19 14:53:33 2010 +0100 +++ b/telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmsecuritytsy.cpp Wed Jul 21 17:41:03 2010 +0100 @@ -111,7 +111,7 @@ REINTERPRET_CAST( TUint32*, dataPtr ) ); break; case EMobilePhoneGetLockInfo: - ret = GetLockInfoL( aPackage ); + ret = GetLockInfoL( aTsyReqHandle, aPackage ); break; // Notify Change of Lock Information case EMobilePhoneNotifyLockInfoChange: @@ -294,7 +294,7 @@ // (other items were commented in a header). // --------------------------------------------------------------------------- // -TInt CMmSecurityTsy::GetLockInfoL( const TDataPackage& aPackage ) +TInt CMmSecurityTsy::GetLockInfoL( const TTsyReqHandle aTsyReqHandle, const TDataPackage& aPackage ) { OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMSECURITYTSY_GETLOCKINFOL_1, "LTSY: CMmSecurityTsy::GetLockInfoL - Client call"); @@ -308,13 +308,18 @@ //save pointer to client side for completion iRetGetLockInfo = data; +#ifdef REQHANDLE_TIMER + iMmPhoneTsy->SetTypeOfResponse( CMmPhoneTsy::EMultimodePhoneGetLockInfo, aTsyReqHandle ); +#else + iMmPhoneTsy->iTsyReqHandleStore->SetTsyReqHandle( + CMmPhoneTsy::EMultimodePhoneGetLockInfo, aTsyReqHandle ); +#endif //REQHANDLE_TIMER + ret = iMmPhoneTsy->iMmPhoneExtInterface->GetLockInfoL( aPackage ); - if ( KErrNone == ret ) + if ( KErrNone != ret ) { - //save req handle type - iMmPhoneTsy->iReqHandleType = - CMmPhoneTsy::EMultimodePhoneGetLockInfo; + iMmPhoneTsy->iTsyReqHandleStore->ResetTsyReqHandle( CMmPhoneTsy::EMultimodePhoneGetLockInfo ); } }