Removed online interceptor

This commit is contained in:
CappielloAntonio 2021-09-13 17:17:56 +02:00
parent b0f79a9237
commit 45361c4851
4 changed files with 1 additions and 3 deletions

View file

@ -60,7 +60,6 @@ public class MediaAnnotationClient {
return new OkHttpClient.Builder()
.addInterceptor(getHttpLoggingInterceptor())
.addInterceptor(cacheUtil.offlineInterceptor)
.addNetworkInterceptor(cacheUtil.onlineInterceptor)
.cache(getCache())
.build();
}

View file

@ -50,7 +50,6 @@ public class MediaLibraryScanningClient {
return new OkHttpClient.Builder()
.addInterceptor(getHttpLoggingInterceptor())
.addInterceptor(cacheUtil.offlineInterceptor)
.addNetworkInterceptor(cacheUtil.onlineInterceptor)
.cache(getCache())
.build();
}

View file

@ -67,7 +67,6 @@ public class PlaylistClient {
return new OkHttpClient.Builder()
.addInterceptor(getHttpLoggingInterceptor())
.addInterceptor(cacheUtil.offlineInterceptor)
.addNetworkInterceptor(cacheUtil.onlineInterceptor)
.cache(getCache())
.build();
}