mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
removing unused import
This commit is contained in:
parent
b7c911feee
commit
8e84aea434
@ -85,7 +85,11 @@ internal interface RequestExecutor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
internal object DefaultRequestExecutor : RequestExecutor {
|
internal object DefaultRequestExecutor : RequestExecutor {
|
||||||
override suspend fun <DATA> executeRequest(globalErrorReceiver: GlobalErrorReceiver?, canRetry: Boolean, maxDelayBeforeRetry: Long, maxRetriesCount: Int, requestBlock: suspend () -> DATA): DATA {
|
override suspend fun <DATA> executeRequest(globalErrorReceiver: GlobalErrorReceiver?,
|
||||||
|
canRetry: Boolean,
|
||||||
|
maxDelayBeforeRetry: Long,
|
||||||
|
maxRetriesCount: Int,
|
||||||
|
requestBlock: suspend () -> DATA): DATA {
|
||||||
return executeRequest(globalErrorReceiver, canRetry, maxDelayBeforeRetry, maxRetriesCount, requestBlock)
|
return executeRequest(globalErrorReceiver, canRetry, maxDelayBeforeRetry, maxRetriesCount, requestBlock)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,6 @@ import org.matrix.android.sdk.internal.session.pushers.gateway.PushGatewayNotify
|
|||||||
import org.matrix.android.sdk.internal.session.room.notification.DefaultSetRoomNotificationStateTask
|
import org.matrix.android.sdk.internal.session.room.notification.DefaultSetRoomNotificationStateTask
|
||||||
import org.matrix.android.sdk.internal.session.room.notification.SetRoomNotificationStateTask
|
import org.matrix.android.sdk.internal.session.room.notification.SetRoomNotificationStateTask
|
||||||
import retrofit2.Retrofit
|
import retrofit2.Retrofit
|
||||||
import javax.inject.Singleton
|
|
||||||
|
|
||||||
@Module
|
@Module
|
||||||
internal abstract class PushersModule {
|
internal abstract class PushersModule {
|
||||||
|
Loading…
Reference in New Issue
Block a user