mmappcomponents/mmmtpdataprovider/mmmtpdpplugins/mediamtpdataprovider/src/cmediamtpdataprovidercopyobject.cpp
branchRCL_3
changeset 14 05b0d2323768
parent 9 bee149131e4b
child 17 780c925249c1
equal deleted inserted replaced
9:bee149131e4b 14:05b0d2323768
   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         {