mtpfws/mtpfw/dataproviders/dputility/src/cmtpfsenumerator.cpp
branchRCL_3
changeset 2 4843bb5893b6
parent 1 f8e15b44d440
child 4 60a94a45d437
equal deleted inserted replaced
1:f8e15b44d440 2:4843bb5893b6
   208  	
   208  	
   209  	if ( iExclusionMgr.IsFolderAcceptedL(root, aStorageId) )
   209  	if ( iExclusionMgr.IsFolderAcceptedL(root, aStorageId) )
   210  	    {
   210  	    {
   211  	    iParentHandle = KMTPHandleNoParent;
   211  	    iParentHandle = KMTPHandleNoParent;
   212  	    iPath.Set(root, NULL, NULL);
   212  	    iPath.Set(root, NULL, NULL);
   213  	    User::LeaveIfError(iDir.Open(iFramework.Fs(), iPath.DriveAndPath(), KEntryAttNormal | KEntryAttDir));
   213  	    User::LeaveIfError(iDir.Open(iFramework.Fs(), iPath.DriveAndPath(), KEntryAttNormal | KEntryAttHidden | KEntryAttDir));
   214  	    ScanDirL();
   214  	    ScanDirL();
   215  	    }
   215  	    }
   216  	else
   216  	else
   217  	    {
   217  	    {
   218  	    TRequestStatus* status = &iStatus;
   218  	    TRequestStatus* status = &iStatus;
   288 	// Update the current parentId with object of the directory
   288 	// Update the current parentId with object of the directory
   289 	iParentHandle = iFramework.ObjectMgr().HandleL(suid);
   289 	iParentHandle = iFramework.ObjectMgr().HandleL(suid);
   290 				
   290 				
   291 	// Kick-off a scan of the next directory
   291 	// Kick-off a scan of the next directory
   292 	iDir.Close();
   292 	iDir.Close();
   293 	User::LeaveIfError(iDir.Open(iFramework.Fs(), iPath.DriveAndPath(), KEntryAttNormal | KEntryAttDir));
   293 	User::LeaveIfError(iDir.Open(iFramework.Fs(), iPath.DriveAndPath(), KEntryAttNormal | KEntryAttHidden | KEntryAttDir));
   294 	ScanDirL();
   294 	ScanDirL();
   295 	__FLOG_VA(_L8("ScanNextSubdirL - exit"));
   295 	__FLOG_VA(_L8("ScanNextSubdirL - exit"));
   296 	}
   296 	}
   297 
   297 
   298 /**
   298 /**