From 772f9c9b56ed705a203492e0bf40b8f702beb656 Mon Sep 17 00:00:00 2001 From: alperozturk Date: Tue, 5 Nov 2024 12:30:44 +0100 Subject: [PATCH] optimize imports Signed-off-by: alperozturk --- app/src/main/java/com/nextcloud/utils/mdm/MDMConfig.kt | 1 - .../main/java/com/owncloud/android/files/FileMenuFilter.java | 3 --- .../com/owncloud/android/ui/helpers/FileOperationsHelper.java | 2 -- 3 files changed, 6 deletions(-) diff --git a/app/src/main/java/com/nextcloud/utils/mdm/MDMConfig.kt b/app/src/main/java/com/nextcloud/utils/mdm/MDMConfig.kt index 17de96aea3..16a97820ef 100644 --- a/app/src/main/java/com/nextcloud/utils/mdm/MDMConfig.kt +++ b/app/src/main/java/com/nextcloud/utils/mdm/MDMConfig.kt @@ -11,7 +11,6 @@ import android.content.Context import com.nextcloud.utils.extensions.getRestriction import com.owncloud.android.BuildConfig import com.owncloud.android.R -import com.owncloud.android.files.FileMenuFilter import com.owncloud.android.utils.appConfig.AppConfigKeys object MDMConfig { diff --git a/app/src/main/java/com/owncloud/android/files/FileMenuFilter.java b/app/src/main/java/com/owncloud/android/files/FileMenuFilter.java index a7e9a31f6e..873a6e293a 100644 --- a/app/src/main/java/com/owncloud/android/files/FileMenuFilter.java +++ b/app/src/main/java/com/owncloud/android/files/FileMenuFilter.java @@ -23,7 +23,6 @@ import com.nextcloud.client.editimage.EditImageActivity; import com.nextcloud.client.jobs.download.FileDownloadHelper; import com.nextcloud.client.jobs.upload.FileUploadHelper; import com.nextcloud.utils.EditorUtils; -import com.nextcloud.utils.extensions.ContextExtensionsKt; import com.nextcloud.utils.mdm.MDMConfig; import com.owncloud.android.R; import com.owncloud.android.datamodel.FileDataStorageManager; @@ -34,7 +33,6 @@ import com.owncloud.android.ui.activity.ComponentsGetter; import com.owncloud.android.ui.helpers.FileOperationsHelper; import com.owncloud.android.utils.MimeTypeUtil; import com.owncloud.android.utils.NextcloudServer; -import com.owncloud.android.utils.appConfig.AppConfigKeys; import java.util.ArrayList; import java.util.Collection; @@ -46,7 +44,6 @@ import javax.inject.Inject; import androidx.annotation.IdRes; import androidx.core.content.pm.ShortcutManagerCompat; -import androidx.media3.common.C; /** * Filters out the file actions available in a given {@link Menu} for a given {@link OCFile} diff --git a/app/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java b/app/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java index 8841c74c78..6b765c2afd 100755 --- a/app/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java +++ b/app/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java @@ -36,7 +36,6 @@ import com.nextcloud.client.jobs.download.FileDownloadHelper; import com.nextcloud.client.jobs.upload.FileUploadHelper; import com.nextcloud.client.network.ConnectivityService; import com.nextcloud.utils.EditorUtils; -import com.nextcloud.utils.extensions.ContextExtensionsKt; import com.owncloud.android.MainApp; import com.owncloud.android.R; import com.owncloud.android.datamodel.ArbitraryDataProvider; @@ -70,7 +69,6 @@ import com.owncloud.android.utils.DisplayUtils; import com.owncloud.android.utils.EncryptionUtils; import com.owncloud.android.utils.FileStorageUtils; import com.owncloud.android.utils.UriUtils; -import com.owncloud.android.utils.appConfig.AppConfigKeys; import com.owncloud.android.utils.theme.ViewThemeUtils; import org.greenrobot.eventbus.EventBus;