mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/cgetobjectpropvalue.cpp
branchCompilerCompatibility
changeset 13 da1f3efa404b
parent 9 bee149131e4b
child 14 05b0d2323768
--- a/mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/cgetobjectpropvalue.cpp	Mon Mar 08 21:44:04 2010 +0000
+++ b/mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/cgetobjectpropvalue.cpp	Sun Mar 14 13:11:48 2010 +0000
@@ -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;