equal
deleted
inserted
replaced
159 GLX_DEBUG1("GlxThumbnailVariantType::CreateIconTextureL"); |
159 GLX_DEBUG1("GlxThumbnailVariantType::CreateIconTextureL"); |
160 TRAP( err, mTextureId = iUiUtility->GlxTextureManager().CreateIconTextureL( |
160 TRAP( err, mTextureId = iUiUtility->GlxTextureManager().CreateIconTextureL( |
161 icon.bitmapId, resFile, defaultSize ).Id() ); |
161 icon.bitmapId, resFile, defaultSize ).Id() ); |
162 } |
162 } |
163 else if ( (KErrNone == thumbnailError) || (KErrArgument == thumbnailError) |
163 else if ( (KErrNone == thumbnailError) || (KErrArgument == thumbnailError) |
164 || (KErrDiskFull == thumbnailError) || ( drm && isValid == EGlxDrmRightsInvalid ) ) |
164 || (KErrDiskFull == thumbnailError) || (KErrNoMemory == thumbnailError) |
|
165 || ( drm && isValid == EGlxDrmRightsInvalid ) ) |
165 { |
166 { |
166 //Try and see if we can scale and show the grid tnm else show the default |
167 //Try and see if we can scale and show the grid tnm else show the default |
167 TBool isGridTnmShown = EFalse; |
168 TBool isGridTnmShown = EFalse; |
168 if(HasRelevantThumbnail(aMedia,defaultSize)) |
169 if(HasRelevantThumbnail(aMedia,defaultSize)) |
169 { |
170 { |