forked from GitHub-Mirror/riotX-android
Fix compilation issue in release
This commit is contained in:
parent
d28e9862a2
commit
13a0b809e1
@ -17,14 +17,19 @@
|
||||
|
||||
package im.vector.matrix.android.internal.network.interceptors
|
||||
|
||||
import im.vector.matrix.android.internal.di.MatrixScope
|
||||
import okhttp3.Interceptor
|
||||
import okhttp3.Response
|
||||
import okhttp3.logging.HttpLoggingInterceptor
|
||||
import java.io.IOException
|
||||
import javax.inject.Inject
|
||||
|
||||
/**
|
||||
* No op interceptor
|
||||
*/
|
||||
internal class CurlLoggingInterceptor : Interceptor {
|
||||
@MatrixScope
|
||||
internal class CurlLoggingInterceptor @Inject constructor(private val logger: HttpLoggingInterceptor.Logger)
|
||||
: Interceptor {
|
||||
|
||||
@Throws(IOException::class)
|
||||
override fun intercept(chain: Interceptor.Chain): Response {
|
||||
|
Loading…
Reference in New Issue
Block a user