File tree Expand file tree Collapse file tree
app/src/main/java/com/owncloud/android/operations Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818import android .webkit .MimeTypeMap ;
1919
2020import com .nextcloud .client .account .User ;
21+ import com .nextcloud .common .NextcloudClient ;
2122import com .nextcloud .utils .extensions .ContextExtensionsKt ;
23+ import com .nextcloud .utils .extensions .OwnCloudClientExtensionsKt ;
2224import com .owncloud .android .R ;
2325import com .owncloud .android .datamodel .ArbitraryDataProviderImpl ;
2426import com .owncloud .android .datamodel .FileDataStorageManager ;
4244import java .lang .ref .WeakReference ;
4345import java .nio .file .Files ;
4446import java .util .HashSet ;
45- import java .util .Iterator ;
4647import java .util .Set ;
4748import java .util .concurrent .atomic .AtomicBoolean ;
4849
@@ -205,7 +206,8 @@ protected RemoteOperationResult run(OwnCloudClient client) {
205206 dataTransferListeners .forEach (downloadOperation ::addDatatransferProgressListener );
206207 }
207208
208- result = downloadOperation .execute (client );
209+ NextcloudClient nextcloudClient = OwnCloudClientExtensionsKt .toNextcloudClient (client , operationContext );
210+ result = downloadOperation .execute (nextcloudClient );
209211
210212
211213
Original file line number Diff line number Diff line change 55androidCommonLibraryVersion = " 0.31.0"
66androidGifDrawableVersion = " 1.2.30"
77androidImageCropperVersion = " 4.7.0"
8- androidLibraryVersion = " b711becb0fe4fa3b09a0ea83a498579310cc8e69 "
8+ androidLibraryVersion = " 08bd486478f27fdd839431bf1a78b29ec9308689 "
99androidPluginVersion = ' 8.13.2'
1010androidsvgVersion = " 1.4"
1111androidxMediaVersion = " 1.5.1"
Original file line number Diff line number Diff line change 1951519515 <sha256 value="1766b0b02fe18a2f24687a75e350c157eeb1bcb5a5f13b0c9bb01d88709e842f" origin="Generated by Gradle" reason="Artifact is not signed"/>
1951619516 </artifact>
1951719517 </component>
19518+ <component group="com.github.nextcloud" name="android-library"
19519+ version="08bd486478f27fdd839431bf1a78b29ec9308689">
19520+ <artifact name="android-library-08bd486478f27fdd839431bf1a78b29ec9308689.aar">
19521+ <sha256 value="b2887e0c9f8ff1112e39a43f9341d5738c5d0180544b665a8df7731b7b9ea8e4"
19522+ origin="Generated by Gradle" reason="Artifact is not signed" />
19523+ </artifact>
19524+ <artifact name="android-library-08bd486478f27fdd839431bf1a78b29ec9308689.module">
19525+ <sha256 value="16e10011c4e370870570943f137589f391160bcf907915ab8de5b3b009795160"
19526+ origin="Generated by Gradle" reason="Artifact is not signed" />
19527+ </artifact>
19528+ </component>
1951819529 <component group="com.github.nextcloud" name="android-library" version="0bc996e6b6">
1951919530 <artifact name="android-library-0bc996e6b6.aar">
1952019531 <sha256 value="944bc1de6496e567dd53573007a81102788f869d6ad83f6690f3cb4a156e1280" origin="Generated by Gradle" reason="Artifact is not signed"/>
You can’t perform that action at this time.
0 commit comments