videoplayback/videohelix/src/mpxvideodlmgrif.cpp
changeset 15 cf5481c2bc0b
parent 0 96612d01cf9f
child 28 c48470be1ba7
--- a/videoplayback/videohelix/src/mpxvideodlmgrif.cpp	Tue Feb 02 00:12:10 2010 +0200
+++ b/videoplayback/videohelix/src/mpxvideodlmgrif.cpp	Fri Apr 16 14:59:52 2010 +0300
@@ -15,7 +15,8 @@
 *
 */
 
-// Version : %version: 21 %
+
+// Version : %version: 23 %
 
 
 #include <MMFROPCustomCommandConstants.h>
@@ -160,7 +161,6 @@
 
         iCurrentDl->SetBoolAttribute( EDlAttrSilent, EFalse );
 
-        //a temp hack until dl manager has a fix for this
         TInt32 activeDownload( 0 );
         iCurrentDl->GetIntAttribute( EDlAttrActiveDownload, activeDownload );
         iCurrentDl->SetIntAttribute( EDlAttrActivePlayedDownload, activeDownload );
@@ -502,6 +502,7 @@
     //
     //  Notify the player and the UI view that the download is complete
     //
+    HandleCustomCommand( EMMFROPControllerSetDownloadSize, iDlTotalSize );
     HandleCustomCommand( EMMFROPControllerSetDownloadComplete, ETrue );
 }
 
@@ -737,7 +738,7 @@
 {
     MPX_ENTER_EXIT(_L("CMPXVideoDlMgrIf::UpdateDownloadSizeL()"));
 
-    if ( iController->iDrmHelper->IsProtected( iController->iFileHandle ) )
+    if ( iController->iDrmHelper->IsProtectedL( iController->iFileHandle ) )
     {
         MPX_DEBUG(_L("CMPXVideoDlMgrIf::UpdateDownloadSizeL() download is DRM protected"));