equal
deleted
inserted
replaced
152 TTime time( 0 ); |
152 TTime time( 0 ); |
153 if ( err == KErrNone && iBlacklist->IsBlacklisted( |
153 if ( err == KErrNone && iBlacklist->IsBlacklisted( |
154 aItem->Uri(), mediaId, time ) ) |
154 aItem->Uri(), mediaId, time ) ) |
155 { |
155 { |
156 WRITELOG( "CHarvesterQueue::Append() - found a blacklisted file" ); |
156 WRITELOG( "CHarvesterQueue::Append() - found a blacklisted file" ); |
157 TRAP_IGNORE( iHEM->DecreaseItemCountL( EHEObserverTypePlaceholder ) ); |
157 if( aItem->ObjectType() == EPlaceholder ) |
|
158 { |
|
159 TRAP_IGNORE( iHEM->DecreaseItemCountL( EHEObserverTypePlaceholder ) ); |
|
160 } |
158 TRAP_IGNORE( iHEM->DecreaseItemCountL( EHEObserverTypeMMC ) ); |
161 TRAP_IGNORE( iHEM->DecreaseItemCountL( EHEObserverTypeMMC ) ); |
159 if( aItem->EventType() == EHarvesterEdit ) |
162 if( aItem->EventType() == EHarvesterEdit ) |
160 { |
163 { |
161 // Remove possible placeholder items from DB if file was blacklisted during harvesting |
164 // Remove possible placeholder items from DB if file was blacklisted during harvesting |
162 iHarvesterAO->RemoveBlacklistedFile( aItem ); |
165 iHarvesterAO->RemoveBlacklistedFile( aItem ); |