appinstaller/AppMngr2/Sisx/src/appmngr2sisxappinfo.cpp
branchRCL_3
changeset 19 7ca52d38f8c3
parent 18 3ba40be8e484
child 23 09e5ea190d07
equal deleted inserted replaced
18:3ba40be8e484 19:7ca52d38f8c3
   322 
   322 
   323     CAppMngr2SisxInfoIterator* iterator = CAppMngr2SisxInfoIterator::NewL( *this,
   323     CAppMngr2SisxInfoIterator* iterator = CAppMngr2SisxInfoIterator::NewL( *this,
   324             EAppMngr2StatusInstalled );
   324             EAppMngr2StatusInstalled );
   325     CleanupStack::PushL( iterator );
   325     CleanupStack::PushL( iterator );
   326 
   326 
   327     SwiUI::CommonUI::CCUIDetailsDialog* details = SwiUI::CommonUI::CCUIDetailsDialog::NewL();
       
   328     FLOG( "CAppMngr2SisxAppInfo::ShowDetailsL, isDRM %d, noRightsObj %d, CertCount %d",
   327     FLOG( "CAppMngr2SisxAppInfo::ShowDetailsL, isDRM %d, noRightsObj %d, CertCount %d",
   329             iIsDRMProtected, iIsRightsObjectMissingOrExpired, iCertificates.Count() );
   328             iIsDRMProtected, iIsRightsObjectMissingOrExpired, iCertificates.Count() );
   330 
   329 
   331     RFile fileHandle;
   330     RFile fileHandle;
   332     TInt fileOpenError = KErrNone;
   331     TInt fileOpenError = KErrNone;
   339             {
   338             {
   340             CleanupClosePushL( fileHandle );
   339             CleanupClosePushL( fileHandle );
   341             }
   340             }
   342         }
   341         }
   343 
   342 
       
   343     SwiUI::CommonUI::CCUIDetailsDialog* details = SwiUI::CommonUI::CCUIDetailsDialog::NewL();
   344     if( iIsDRMProtected && !iIsRightsObjectMissingOrExpired && !fileOpenError )
   344     if( iIsDRMProtected && !iIsRightsObjectMissingOrExpired && !fileOpenError )
   345         {
   345         {
   346         if( iCertificates.Count() )
   346         if( iCertificates.Count() )
   347             {
   347             {
   348             details->ExecuteLD( *iterator, iCertificates, fileHandle );
   348             details->ExecuteLD( *iterator, iCertificates, fileHandle );
   362             {
   362             {
   363             details->ExecuteLD( *iterator );
   363             details->ExecuteLD( *iterator );
   364             }
   364             }
   365         }
   365         }
   366 
   366 
   367     if( !fileOpenError )
   367     if( iIsDRMProtected && !iIsRightsObjectMissingOrExpired && !fileOpenError )
   368         {
   368         {
   369         CleanupStack::PopAndDestroy( &fileHandle );
   369         CleanupStack::PopAndDestroy( &fileHandle );
   370         }
   370         }
   371 
       
   372     CleanupStack::PopAndDestroy( iterator );
   371     CleanupStack::PopAndDestroy( iterator );
   373     }
   372     }
   374 
   373 
   375 // ---------------------------------------------------------------------------
   374 // ---------------------------------------------------------------------------
   376 // CAppMngr2SisxAppInfo::ReadCertificatesL()
   375 // CAppMngr2SisxAppInfo::ReadCertificatesL()