mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/cgetobjectpropvalue.cpp
branchRCL_3
changeset 9 bee149131e4b
parent 0 a2952bb97e68
child 14 05b0d2323768
--- 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;