Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #666 Glide does not use SSO network stack
Use new nextcloud-commons library for SSO Glide integration Signed-off-by: stefan-niedermann <info@niedermann.it>
- Loading branch information
1 parent
9560552
commit 58eaaa8
Showing
6 changed files
with
21 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
app/src/main/java/it/niedermann/owncloud/notes/util/CustomAppGlideModule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package it.niedermann.owncloud.notes.util; | ||
|
||
import android.content.Context; | ||
|
||
import androidx.annotation.NonNull; | ||
|
||
import com.bumptech.glide.Glide; | ||
import com.bumptech.glide.Registry; | ||
import com.bumptech.glide.annotation.GlideModule; | ||
import com.bumptech.glide.module.AppGlideModule; | ||
|
||
@GlideModule | ||
public class CustomAppGlideModule extends AppGlideModule { | ||
@Override | ||
public void registerComponents(@NonNull Context context, @NonNull Glide glide, @NonNull Registry registry) { | ||
super.registerComponents(context, glide, registry); | ||
} | ||
} |
28 changes: 0 additions & 28 deletions
28
...src/main/java/it/niedermann/owncloud/notes/util/glide/SingleSignOnLibraryGlideModule.java
This file was deleted.
Oops, something went wrong.
80 changes: 0 additions & 80 deletions
80
app/src/main/java/it/niedermann/owncloud/notes/util/glide/SingleSignOnStreamFetcher.java
This file was deleted.
Oops, something went wrong.
90 changes: 0 additions & 90 deletions
90
app/src/main/java/it/niedermann/owncloud/notes/util/glide/SingleSignOnUrlLoader.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
include ':app' | ||
include ':cert4android' | ||
include ':app' |