From 03f50994eeeb69651ecdaca2ff81e4df0d925538 Mon Sep 17 00:00:00 2001 From: Albert Vaca Cintora Date: Fri, 2 Jun 2023 18:41:58 +0200 Subject: [PATCH] Remove unused imports --- src/org/kde/kdeconnect/Helpers/SecurityHelpers/SslHelper.java | 4 ++-- src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisActivity.java | 1 - src/org/kde/kdeconnect/Plugins/PhotoPlugin/PhotoPlugin.java | 1 - .../Plugins/RemoteKeyboardPlugin/RemoteKeyboardPlugin.java | 1 - .../kde/kdeconnect/UserInterface/About/LicensesActivity.kt | 3 +-- 5 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/org/kde/kdeconnect/Helpers/SecurityHelpers/SslHelper.java b/src/org/kde/kdeconnect/Helpers/SecurityHelpers/SslHelper.java index 4f1e9c43..03385924 100644 --- a/src/org/kde/kdeconnect/Helpers/SecurityHelpers/SslHelper.java +++ b/src/org/kde/kdeconnect/Helpers/SecurityHelpers/SslHelper.java @@ -14,8 +14,6 @@ import android.preference.PreferenceManager; import android.util.Base64; import android.util.Log; -import org.kde.kdeconnect.Helpers.DeviceHelper; -import org.kde.kdeconnect.Helpers.RandomHelper; import org.bouncycastle.asn1.x500.RDN; import org.bouncycastle.asn1.x500.X500Name; import org.bouncycastle.asn1.x500.X500NameBuilder; @@ -26,6 +24,8 @@ import org.bouncycastle.cert.jcajce.JcaX509v3CertificateBuilder; import org.bouncycastle.operator.ContentSigner; import org.bouncycastle.operator.jcajce.JcaContentSignerBuilder; import org.bouncycastle.util.Arrays; +import org.kde.kdeconnect.Helpers.DeviceHelper; +import org.kde.kdeconnect.Helpers.RandomHelper; import java.io.ByteArrayInputStream; import java.io.IOException; diff --git a/src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisActivity.java b/src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisActivity.java index 407704ef..422ab4f4 100644 --- a/src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisActivity.java +++ b/src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisActivity.java @@ -18,7 +18,6 @@ import androidx.fragment.app.FragmentActivity; import com.google.android.material.tabs.TabLayoutMediator; import org.kde.kdeconnect.Plugins.SystemVolumePlugin.SystemVolumeFragment; -import org.kde.kdeconnect.UserInterface.ThemeUtil; import org.kde.kdeconnect_tp.R; import org.kde.kdeconnect_tp.databinding.ActivityMprisBinding; diff --git a/src/org/kde/kdeconnect/Plugins/PhotoPlugin/PhotoPlugin.java b/src/org/kde/kdeconnect/Plugins/PhotoPlugin/PhotoPlugin.java index d59978bb..85105c9f 100644 --- a/src/org/kde/kdeconnect/Plugins/PhotoPlugin/PhotoPlugin.java +++ b/src/org/kde/kdeconnect/Plugins/PhotoPlugin/PhotoPlugin.java @@ -6,7 +6,6 @@ package org.kde.kdeconnect.Plugins.PhotoPlugin; -import android.content.Context; import android.content.Intent; import android.graphics.drawable.Drawable; import android.net.Uri; diff --git a/src/org/kde/kdeconnect/Plugins/RemoteKeyboardPlugin/RemoteKeyboardPlugin.java b/src/org/kde/kdeconnect/Plugins/RemoteKeyboardPlugin/RemoteKeyboardPlugin.java index 3c90e66c..c198a76b 100644 --- a/src/org/kde/kdeconnect/Plugins/RemoteKeyboardPlugin/RemoteKeyboardPlugin.java +++ b/src/org/kde/kdeconnect/Plugins/RemoteKeyboardPlugin/RemoteKeyboardPlugin.java @@ -7,7 +7,6 @@ package org.kde.kdeconnect.Plugins.RemoteKeyboardPlugin; import android.app.Activity; -import android.content.Context; import android.content.SharedPreferences; import android.graphics.drawable.Drawable; import android.os.SystemClock; diff --git a/src/org/kde/kdeconnect/UserInterface/About/LicensesActivity.kt b/src/org/kde/kdeconnect/UserInterface/About/LicensesActivity.kt index a0d0adf1..407f99ab 100644 --- a/src/org/kde/kdeconnect/UserInterface/About/LicensesActivity.kt +++ b/src/org/kde/kdeconnect/UserInterface/About/LicensesActivity.kt @@ -14,7 +14,6 @@ import androidx.appcompat.app.AppCompatActivity import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.LinearSmoothScroller import org.apache.commons.io.IOUtils -import org.kde.kdeconnect.UserInterface.ThemeUtil import org.kde.kdeconnect_tp.R import org.kde.kdeconnect_tp.databinding.ActivityLicensesBinding import java.nio.charset.Charset @@ -68,4 +67,4 @@ class LicensesActivity : AppCompatActivity() { super.onBackPressed() return true } -} \ No newline at end of file +}