Skip to content

Commit

Permalink
Fix #666 Glide does not use SSO network stack
Browse files Browse the repository at this point in the history
Use new nextcloud-commons library for SSO Glide integration

Signed-off-by: stefan-niedermann <info@niedermann.it>
  • Loading branch information
stefan-niedermann committed Feb 12, 2020
1 parent 9560552 commit 58eaaa8
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 201 deletions.
3 changes: 2 additions & 1 deletion app/build.gradle
Expand Up @@ -33,7 +33,8 @@ android {
}

dependencies {
implementation "com.github.nextcloud:Android-SingleSignOn:0.5.0-rc1"
implementation "com.github.nextcloud:Android-SingleSignOn:0.5.0-rc2"
implementation 'com.github.stefan-niedermann:nextcloud-commons:6250e5fe73'

implementation 'com.yydcdut:markdown-processor:0.1.3'
implementation 'com.yydcdut:rxmarkdown-wrapper:0.1.3'
Expand Down
@@ -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);
}
}

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 1 addition & 2 deletions settings.gradle
@@ -1,2 +1 @@
include ':app'
include ':cert4android'
include ':app'

0 comments on commit 58eaaa8

Please sign in to comment.