mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/cgetobjectpropvalue.cpp
--- a/mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/cgetobjectpropvalue.cpp Tue Feb 02 00:27:58 2010 +0200
+++ b/mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/cgetobjectpropvalue.cpp Fri Feb 19 23:18:32 2010 +0200
@@ -240,6 +240,9 @@
ServiceMetaDataFromWrapperL( propCode, *iMTPTypeString, *iObjectInfo );
break;
}
+ // Else, video DB does not support DateAdded field, use the file system date!
+ // It's the same behavior with DateCreated and DateModified.
+ // Fall through intentional.
}
//lint -fallthrough
case EMTPObjectPropCodeDateCreated:
@@ -260,7 +263,7 @@
// Consumable
case EMTPObjectPropCodeNonConsumable:
{
- iMTPTypeUint8.Set( 0 );
+ iMTPTypeUint8.Set( iObjectInfo->Uint( CMTPObjectMetaData::ENonConsumable ) );
SendDataL( iMTPTypeUint8 );
}
break;