mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 11:59:12 +03:00
Lint
This commit is contained in:
parent
fb86ab70a2
commit
1976451c81
3 changed files with 1 additions and 6 deletions
|
@ -20,7 +20,7 @@ import org.matrix.android.sdk.api.rendezvous.model.ECDHRendezvousCode
|
||||||
import org.matrix.android.sdk.api.rendezvous.model.RendezvousIntent
|
import org.matrix.android.sdk.api.rendezvous.model.RendezvousIntent
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Representation of a rendezvous channel such as that described by MSC3903
|
* Representation of a rendezvous channel such as that described by MSC3903.
|
||||||
*/
|
*/
|
||||||
interface RendezvousChannel {
|
interface RendezvousChannel {
|
||||||
var transport: RendezvousTransport
|
var transport: RendezvousTransport
|
||||||
|
|
|
@ -16,8 +16,6 @@
|
||||||
|
|
||||||
package org.matrix.android.sdk.api.rendezvous.transports
|
package org.matrix.android.sdk.api.rendezvous.transports
|
||||||
|
|
||||||
import com.squareup.moshi.Json
|
|
||||||
import com.squareup.moshi.JsonClass
|
|
||||||
import kotlinx.coroutines.delay
|
import kotlinx.coroutines.delay
|
||||||
import okhttp3.MediaType
|
import okhttp3.MediaType
|
||||||
import okhttp3.Request
|
import okhttp3.Request
|
||||||
|
@ -142,8 +140,6 @@ class SimpleHttpRendezvousTransport(override var onCancelled: ((reason: Rendezvo
|
||||||
response.close()
|
response.close()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override suspend fun cancel(reason: RendezvousFailureReason) {
|
override suspend fun cancel(reason: RendezvousFailureReason) {
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
|
|
||||||
package im.vector.app.features.login.qr
|
package im.vector.app.features.login.qr
|
||||||
|
|
||||||
import android.content.Context
|
|
||||||
import com.airbnb.mvrx.MavericksViewModelFactory
|
import com.airbnb.mvrx.MavericksViewModelFactory
|
||||||
import dagger.assisted.Assisted
|
import dagger.assisted.Assisted
|
||||||
import dagger.assisted.AssistedFactory
|
import dagger.assisted.AssistedFactory
|
||||||
|
|
Loading…
Reference in a new issue