syncmlfw/syncmlnotifier/src/SyncMLDlgNotifier.cpp
branchRCL_3
changeset 24 13d7c31c74e0
parent 0 b497e44ab2fc
equal deleted inserted replaced
23:4af31167ea77 24:13d7c31c74e0
   166     const TChar KChoiceItemSeparator(',');
   166     const TChar KChoiceItemSeparator(',');
   167     if ( iReplySlot != NULL || iNeedToCompleteMessage )
   167     if ( iReplySlot != NULL || iNeedToCompleteMessage )
   168         {
   168         {
   169         User::Leave( KErrInUse );
   169         User::Leave( KErrInUse );
   170         }
   170         }
   171     
       
   172     if ( AutoLockOnL() )
       
   173         {
       
   174         // The phone is locked, access denied.
       
   175         // Write results back to caller and complete message.
       
   176         aMessage.Complete( KErrLocked );
       
   177         iNeedToCompleteMessage = EFalse;
       
   178         return;
       
   179         }
       
   180 
       
   181     iMessage = aMessage;
   171     iMessage = aMessage;
   182     iNeedToCompleteMessage = ETrue;
   172     iNeedToCompleteMessage = ETrue;
   183     iReplySlot = aReplySlot;
   173     iReplySlot = aReplySlot;
   184 
   174 
   185     TSyncMLDlgNotifParams param;
   175     TSyncMLDlgNotifParams param;