mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-05 08:33:07 +00:00
Removed online interceptor
This commit is contained in:
1
.idea/misc.xml
generated
1
.idea/misc.xml
generated
@@ -11,6 +11,7 @@
|
|||||||
<entry key="app/src/main/res/drawable-v24/ic_play_for_work.xml" value="0.28055555555555556" />
|
<entry key="app/src/main/res/drawable-v24/ic_play_for_work.xml" value="0.28055555555555556" />
|
||||||
<entry key="app/src/main/res/drawable-v24/ic_shuffle.xml" value="0.28055555555555556" />
|
<entry key="app/src/main/res/drawable-v24/ic_shuffle.xml" value="0.28055555555555556" />
|
||||||
<entry key="app/src/main/res/drawable-v24/ic_toolbar_motion_on.xml" value="0.28055555555555556" />
|
<entry key="app/src/main/res/drawable-v24/ic_toolbar_motion_on.xml" value="0.28055555555555556" />
|
||||||
|
<entry key="app/src/main/res/drawable/bottom_nav_selector.xml" value="0.36203703703703705" />
|
||||||
<entry key="app/src/main/res/drawable/bottom_nav_shape.xml" value="0.28055555555555556" />
|
<entry key="app/src/main/res/drawable/bottom_nav_shape.xml" value="0.28055555555555556" />
|
||||||
<entry key="app/src/main/res/drawable/dialog_shape.xml" value="0.27685185185185185" />
|
<entry key="app/src/main/res/drawable/dialog_shape.xml" value="0.27685185185185185" />
|
||||||
<entry key="app/src/main/res/drawable/ic_arrow_back.xml" value="0.28055555555555556" />
|
<entry key="app/src/main/res/drawable/ic_arrow_back.xml" value="0.28055555555555556" />
|
||||||
|
|||||||
@@ -60,7 +60,6 @@ public class MediaAnnotationClient {
|
|||||||
return new OkHttpClient.Builder()
|
return new OkHttpClient.Builder()
|
||||||
.addInterceptor(getHttpLoggingInterceptor())
|
.addInterceptor(getHttpLoggingInterceptor())
|
||||||
.addInterceptor(cacheUtil.offlineInterceptor)
|
.addInterceptor(cacheUtil.offlineInterceptor)
|
||||||
.addNetworkInterceptor(cacheUtil.onlineInterceptor)
|
|
||||||
.cache(getCache())
|
.cache(getCache())
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,7 +50,6 @@ public class MediaLibraryScanningClient {
|
|||||||
return new OkHttpClient.Builder()
|
return new OkHttpClient.Builder()
|
||||||
.addInterceptor(getHttpLoggingInterceptor())
|
.addInterceptor(getHttpLoggingInterceptor())
|
||||||
.addInterceptor(cacheUtil.offlineInterceptor)
|
.addInterceptor(cacheUtil.offlineInterceptor)
|
||||||
.addNetworkInterceptor(cacheUtil.onlineInterceptor)
|
|
||||||
.cache(getCache())
|
.cache(getCache())
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,7 +67,6 @@ public class PlaylistClient {
|
|||||||
return new OkHttpClient.Builder()
|
return new OkHttpClient.Builder()
|
||||||
.addInterceptor(getHttpLoggingInterceptor())
|
.addInterceptor(getHttpLoggingInterceptor())
|
||||||
.addInterceptor(cacheUtil.offlineInterceptor)
|
.addInterceptor(cacheUtil.offlineInterceptor)
|
||||||
.addNetworkInterceptor(cacheUtil.onlineInterceptor)
|
|
||||||
.cache(getCache())
|
.cache(getCache())
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user