browserutilities/downloadmgr/DownloadMgrUiLib/Src/CDownloadMgrUiDownloadsList.cpp
equal
deleted
inserted
replaced
2234 |
2234 |
2235 if ( aResourceId == R_DMUL_DOWNLOADSLIST_MENU ) |
2235 if ( aResourceId == R_DMUL_DOWNLOADSLIST_MENU ) |
2236 { |
2236 { |
2237 __ASSERT_DEBUG( 0<iListModel->Count(), Panic( EUiLibPanOptionsShownWhileNoDownloads ) ); |
2237 __ASSERT_DEBUG( 0<iListModel->Count(), Panic( EUiLibPanOptionsShownWhileNoDownloads ) ); |
2238 |
2238 |
2239 TBool isCreated = state == EHttpDlCreated; |
|
2240 // The fix of PHAN-6KVK5R makes this line no longer necessary |
2239 // The fix of PHAN-6KVK5R makes this line no longer necessary |
2241 // TBool isInProgress = state == EHttpDlInprogress; |
2240 // TBool isInProgress = state == EHttpDlInprogress; |
2242 TBool isPaused = state == EHttpDlPaused; |
|
2243 TBool isCompleted = state == EHttpDlMultipleMOCompleted; |
2241 TBool isCompleted = state == EHttpDlMultipleMOCompleted; |
2244 TBool isFailed = state == EHttpDlMultipleMOFailed; |
|
2245 TBool isDrmDownload = EFalse; |
2242 TBool isDrmDownload = EFalse; |
2246 TBool isDrmRightsOnPhone = EFalse; |
2243 TBool isDrmRightsOnPhone = EFalse; |
2247 TBool isPreviewRights = EFalse; |
2244 TBool isPreviewRights = EFalse; |
2248 // OMA DRM information is used only in case of completed downloads |
2245 // OMA DRM information is used only in case of completed downloads |
2249 if ( isCompleted ) |
2246 if ( isCompleted ) |
2279 contentType = NULL; |
2276 contentType = NULL; |
2280 CDocumentHandler* docHandler = CDocumentHandler::NewLC(); |
2277 CDocumentHandler* docHandler = CDocumentHandler::NewLC(); |
2281 canProgHandled = docHandler->CanHandleProgressivelyL( dataType, pdPlayerUid ); |
2278 canProgHandled = docHandler->CanHandleProgressivelyL( dataType, pdPlayerUid ); |
2282 CleanupStack::PopAndDestroy( docHandler ); // docHandler |
2279 CleanupStack::PopAndDestroy( docHandler ); // docHandler |
2283 |
2280 |
2284 #ifndef BRDO_SINGLE_CLICK_ENABLED_FF |
2281 #ifndef BRDO_SINGLE_CLICK_ENABLED_FF |
|
2282 TBool isCreated = state == EHttpDlCreated; |
|
2283 TBool isPaused = state == EHttpDlPaused; |
|
2284 TBool isFailed = state == EHttpDlMultipleMOFailed; |
2285 //delete open file manager when download is not complete |
2285 //delete open file manager when download is not complete |
2286 if( !(isCompleted)) |
2286 if( !(isCompleted)) |
2287 { |
2287 { |
2288 aMenuPane->DeleteMenuItem( EDownloadsListCmdFileManager ); |
2288 aMenuPane->DeleteMenuItem( EDownloadsListCmdFileManager ); |
2289 } |
2289 } |