From d10e83bb486eaf030ab89431a8e968f7ac858639 Mon Sep 17 00:00:00 2001 From: ganfra Date: Fri, 19 Jul 2024 10:25:45 +0200 Subject: [PATCH] Authenticated media : fix formatting. --- .../internal/session/homeserver/GetHomeServerCapabilitiesTask.kt | 1 - .../src/main/java/im/vector/app/core/di/ActiveSessionHolder.kt | 1 - .../java/im/vector/app/core/glide/AuthenticatedGlideUrlLoader.kt | 1 - .../im/vector/app/core/glide/ImageContentRendererDataLoader.kt | 1 - 4 files changed, 4 deletions(-) diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/homeserver/GetHomeServerCapabilitiesTask.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/homeserver/GetHomeServerCapabilitiesTask.kt index 5e58443516..2a74cdf198 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/homeserver/GetHomeServerCapabilitiesTask.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/homeserver/GetHomeServerCapabilitiesTask.kt @@ -41,7 +41,6 @@ import org.matrix.android.sdk.internal.network.executeRequest import org.matrix.android.sdk.internal.session.integrationmanager.IntegrationManagerConfigExtractor import org.matrix.android.sdk.internal.session.media.GetMediaConfigResult import org.matrix.android.sdk.internal.session.media.MediaAPIProvider -import org.matrix.android.sdk.internal.session.media.UnauthenticatedMediaAPI import org.matrix.android.sdk.internal.task.Task import org.matrix.android.sdk.internal.util.awaitTransaction import org.matrix.android.sdk.internal.wellknown.GetWellknownTask diff --git a/vector/src/main/java/im/vector/app/core/di/ActiveSessionHolder.kt b/vector/src/main/java/im/vector/app/core/di/ActiveSessionHolder.kt index 77135eed23..ca839dff42 100644 --- a/vector/src/main/java/im/vector/app/core/di/ActiveSessionHolder.kt +++ b/vector/src/main/java/im/vector/app/core/di/ActiveSessionHolder.kt @@ -16,7 +16,6 @@ package im.vector.app.core.di -import android.content.Context import im.vector.app.ActiveSessionDataSource import im.vector.app.core.dispatchers.CoroutineDispatchers import im.vector.app.core.pushers.UnregisterUnifiedPushUseCase diff --git a/vector/src/main/java/im/vector/app/core/glide/AuthenticatedGlideUrlLoader.kt b/vector/src/main/java/im/vector/app/core/glide/AuthenticatedGlideUrlLoader.kt index f56d6e0b60..4b1300b062 100644 --- a/vector/src/main/java/im/vector/app/core/glide/AuthenticatedGlideUrlLoader.kt +++ b/vector/src/main/java/im/vector/app/core/glide/AuthenticatedGlideUrlLoader.kt @@ -65,4 +65,3 @@ class AuthenticatedGlideUrlLoader( return ModelLoader.LoadData(model, fetcher) } } - diff --git a/vector/src/main/java/im/vector/app/core/glide/ImageContentRendererDataLoader.kt b/vector/src/main/java/im/vector/app/core/glide/ImageContentRendererDataLoader.kt index 6936a46d57..521eb08385 100644 --- a/vector/src/main/java/im/vector/app/core/glide/ImageContentRendererDataLoader.kt +++ b/vector/src/main/java/im/vector/app/core/glide/ImageContentRendererDataLoader.kt @@ -32,7 +32,6 @@ import im.vector.app.features.session.coroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch import kotlinx.coroutines.withContext -import okhttp3.OkHttpClient import timber.log.Timber import java.io.IOException import java.io.InputStream