diff -r ab88d4a85041 -r 9f21bab39f42 harvester/monitorplugins/mmcplugin/src/mmcfilelist.cpp --- a/harvester/monitorplugins/mmcplugin/src/mmcfilelist.cpp Tue Apr 27 17:05:23 2010 +0300 +++ b/harvester/monitorplugins/mmcplugin/src/mmcfilelist.cpp Tue May 11 16:36:55 2010 +0300 @@ -157,11 +157,33 @@ { continue; } + + // check if folder is hidden or system folder + TUint att = 0; + TInt attErr = aFs.Att( name, att ); + if ( attErr == KErrNone ) + { + if ( att & KEntryAttHidden || att & KEntryAttSystem ) + { + continue; + } + } path->AppendL( name ); } else { + // check if file is hidden or system file + TUint att = 0; + TInt attErr = aFs.Att( name, att ); + if ( attErr == KErrNone ) + { + if ( att & KEntryAttHidden || att & KEntryAttSystem ) + { + continue; + } + } + CPlaceholderData* phData = CPlaceholderData::NewL(); CleanupStack::PushL( phData ); phData->SetUri( name );