appinstaller/AppinstUi/Daemon/Src/dialogwatcher.cpp
branchRCL_3
changeset 26 8b7f4e561641
parent 25 7333d7932ef7
equal deleted inserted replaced
25:7333d7932ef7 26:8b7f4e561641
   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->CancelWaitingNote(); 
   145             iDialogWrapper->CancelWaitingNoteL(); 
   146             iDialogWrapper->CancelWaitingNoteForUninstaller();
       
   147             iDialogWrapper->SetUIFlag( psKey );
   146             iDialogWrapper->SetUIFlag( psKey );
   148             // Issue new request.
   147             // Issue new request.
   149             StartWatcher();
   148             StartWatcher();
   150             }
   149             }
   151         else if ( !psKey && iRequestToDisplayNote )
   150         else if ( !psKey && iRequestToDisplayNote )
   172         {
   171         {
   173         FLOG_1( _L("[CDialogWatcher] RunL: PSKey get error = %d"), err ); 
   172         FLOG_1( _L("[CDialogWatcher] RunL: PSKey get error = %d"), err ); 
   174         FLOG( _L("[CDialogWatcher] RunL: Cancel notes") ); 
   173         FLOG( _L("[CDialogWatcher] RunL: Cancel notes") ); 
   175         // If we can not read the the PS Key, let's close dialogs, 
   174         // If we can not read the the PS Key, let's close dialogs, 
   176         // so we do not block the start applications.
   175         // so we do not block the start applications.
   177         iDialogWrapper->CancelWaitingNote(); 
   176         iDialogWrapper->CancelWaitingNoteL(); 
   178         iDialogWrapper->CancelWaitingNoteForUninstaller();
       
   179         iDialogWrapper->SetUIFlag( ETrue );
   177         iDialogWrapper->SetUIFlag( ETrue );
   180         // Issue new request.
   178         // Issue new request.
   181         StartWatcher();
   179         StartWatcher();
   182         }            
   180         }            
   183     }
   181     }