mmappcomponents/mmmtpdataprovider/mmmtpdpplugins/mediamtpdataprovider/src/cmediamtpdataprovidercopyobject.cpp
equal
deleted
inserted
replaced
215 User::Leave( KErrNotSupported ); |
215 User::Leave( KErrNotSupported ); |
216 } |
216 } |
217 break; |
217 break; |
218 } |
218 } |
219 |
219 |
220 // centralize logic to handle error, doing so, that's on need to trap the |
220 // Ignore all errors came from mpx db. |
221 // leave for KErrNotSupported in base class like previous version. |
221 // It's enough that only file copied successfully no matter metadata got whatever failure. |
222 if ( ( err == KErrNotFound ) |
222 if ( err != KErrNone ) |
223 || ( ( err == KErrNotSupported ) |
|
224 && ( ( aObject.Uint( CMTPObjectMetaData::EFormatCode ) == EMTPFormatCodeASF ) |
|
225 || ( aObject.Uint( CMTPObjectMetaData::EFormatCode ) == EMTPFormatCodeMP4Container ) |
|
226 || ( aObject.Uint( CMTPObjectMetaData::EFormatCode ) == EMTPFormatCode3GPContainer ) ) ) ) |
|
227 { |
223 { |
228 iPropertyElement = NULL; |
224 iPropertyElement = NULL; |
229 } |
225 } |
230 else |
226 else |
231 { |
227 { |