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.
}
}
+
+ // trigger MediaScan
+ MediaScannerConnection.scanFile(
+ null,
+ new String[]{mLocalFile.getStoragePath()},
+ null,null);
Log_OC.i(TAG, "Synchronizing " + mAccount.name + ", file " + mLocalFile.getRemotePath() + ": " + result.getLogMessage());