appinstaller/AppinstUi/Daemon/Src/dialogwatcher.cpp
branchRCL_3
changeset 65 7333d7932ef7
parent 0 ba25891c3a9e
child 66 8b7f4e561641
equal deleted inserted replaced
62:5cc91383ab1e 65:7333d7932ef7
   140         {        
   140         {        
   141         if ( psKey )
   141         if ( psKey )
   142             {
   142             {
   143             FLOG( _L("[CDialogWatcher] RunL: PSKey true -> Cancel notes ") ); 
   143             FLOG( _L("[CDialogWatcher] RunL: PSKey true -> Cancel notes ") ); 
   144             // If key is true, cancel all dialogs.
   144             // If key is true, cancel all dialogs.
   145             iDialogWrapper->CancelWaitingNoteL(); 
   145             iDialogWrapper->CancelWaitingNote(); 
       
   146             iDialogWrapper->CancelWaitingNoteForUninstaller();
   146             iDialogWrapper->SetUIFlag( psKey );
   147             iDialogWrapper->SetUIFlag( psKey );
   147             // Issue new request.
   148             // Issue new request.
   148             StartWatcher();
   149             StartWatcher();
   149             }
   150             }
   150         else if ( !psKey && iRequestToDisplayNote )
   151         else if ( !psKey && iRequestToDisplayNote )
   171         {
   172         {
   172         FLOG_1( _L("[CDialogWatcher] RunL: PSKey get error = %d"), err ); 
   173         FLOG_1( _L("[CDialogWatcher] RunL: PSKey get error = %d"), err ); 
   173         FLOG( _L("[CDialogWatcher] RunL: Cancel notes") ); 
   174         FLOG( _L("[CDialogWatcher] RunL: Cancel notes") ); 
   174         // If we can not read the the PS Key, let's close dialogs, 
   175         // If we can not read the the PS Key, let's close dialogs, 
   175         // so we do not block the start applications.
   176         // so we do not block the start applications.
   176         iDialogWrapper->CancelWaitingNoteL(); 
   177         iDialogWrapper->CancelWaitingNote(); 
       
   178         iDialogWrapper->CancelWaitingNoteForUninstaller();
   177         iDialogWrapper->SetUIFlag( ETrue );
   179         iDialogWrapper->SetUIFlag( ETrue );
   178         // Issue new request.
   180         // Issue new request.
   179         StartWatcher();
   181         StartWatcher();
   180         }            
   182         }            
   181     }
   183     }