Merge remote-tracking branch 'upstream/develop' into us4_view_text_files
[pub/Android/ownCloud.git] / src / com / owncloud / android / operations / SynchronizeFileOperation.java
index 6bc3321..45a7305 100644 (file)
@@ -33,7 +33,6 @@ import com.owncloud.android.utils.FileStorageUtils;
 import android.accounts.Account;
 import android.content.Context;
 import android.content.Intent;
-import android.media.MediaScannerConnection;
 
 /**
  * Remote operation performing the read of remote file in the ownCloud server.
@@ -195,12 +194,6 @@ public class SynchronizeFileOperation extends SyncOperation {
             } 
 
         }
-        
-        // trigger MediaScan
-        MediaScannerConnection.scanFile(
-                null,
-                new String[]{mLocalFile.getStoragePath()},
-                null,null);
 
         Log_OC.i(TAG, "Synchronizing " + mAccount.name + ", file " + mLocalFile.getRemotePath() + ": " + result.getLogMessage());