branch | RCL_3 |
changeset 18 | e257e2b6459d |
parent 14 | f56ec6ce2732 |
17:6f9f6e99a23e | 18:e257e2b6459d |
---|---|
161 PRINT1( _L( "MM MTP => CMediaMtpDataProviderEnumerator::RunL iStorages.Count() = %d" ), iStorages.Count() ); |
161 PRINT1( _L( "MM MTP => CMediaMtpDataProviderEnumerator::RunL iStorages.Count() = %d" ), iStorages.Count() ); |
162 |
162 |
163 if ( iStorages.Count() > 0 ) |
163 if ( iStorages.Count() > 0 ) |
164 { |
164 { |
165 const CMTPStorageMetaData& storage( iFramework.StorageMgr().StorageL( iStorages[0] ) ); |
165 const CMTPStorageMetaData& storage( iFramework.StorageMgr().StorageL( iStorages[0] ) ); |
166 const TDesC& root( storage.DesC( CMTPStorageMetaData::EStorageSuid ) ); |
166 TPtrC root( storage.DesC( CMTPStorageMetaData::EStorageSuid ) ); |
167 GetModifiedContentL( root ); |
167 GetModifiedContentL( root ); |
168 TRAPD( err, iDataProvider.GetWrapperL().UpdateMusicCollectionL( root ) ); |
168 TRAPD( err, iDataProvider.GetWrapperL().UpdateMusicCollectionL( root ) ); |
169 if ( err != KErrNone ) |
169 if ( err != KErrNone ) |
170 { |
170 { |
171 PRINT1( _L("MM MTP <> CMediaMtpDataProviderEnumerator::RunL, UpdateMusicCollectionL err =%d "), err ); |
171 PRINT1( _L("MM MTP <> CMediaMtpDataProviderEnumerator::RunL, UpdateMusicCollectionL err =%d "), err ); |