2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 14:15:14 +00:00

Remove some unused imports

## Summary

Very basic maintenance MR to remove unused imports from code files.
This commit is contained in:
Philip Cohn-Cort
2022-11-07 23:15:06 +00:00
committed by Simon Redman
parent d57072186a
commit a63d549739
16 changed files with 1 additions and 28 deletions

View File

@@ -19,7 +19,6 @@ import android.os.Build;
import android.os.Parcelable;
import android.util.Log;
import org.apache.commons.io.IOUtils;
import org.kde.kdeconnect.Backends.BaseLinkProvider;
import org.kde.kdeconnect.Device;
import org.kde.kdeconnect.Helpers.ThreadHelper;

View File

@@ -28,8 +28,6 @@ import org.apache.commons.lang3.StringUtils;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;

View File

@@ -6,7 +6,6 @@
package org.kde.kdeconnect.Helpers;
import android.app.Activity;
import android.app.Notification;
import android.app.PendingIntent;
import android.content.Context;

View File

@@ -8,7 +8,6 @@ package org.kde.kdeconnect.Helpers;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.TextView;
import androidx.preference.PreferenceCategory;

View File

@@ -7,8 +7,6 @@
package org.kde.kdeconnect.Plugins.ClibpoardPlugin;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

View File

@@ -11,7 +11,6 @@ import android.view.Window;
import android.view.WindowManager;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import org.kde.kdeconnect.BackgroundService;
import org.kde.kdeconnect.UserInterface.ThemeUtil;

View File

@@ -17,7 +17,6 @@ import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import org.kde.kdeconnect.BackgroundService;
import org.kde.kdeconnect.NetworkPacket;

View File

@@ -10,7 +10,6 @@ import android.app.Activity;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import org.kde.kdeconnect.Device;
import org.kde.kdeconnect.NetworkPacket;
import org.kde.kdeconnect.Plugins.Plugin;
import org.kde.kdeconnect.Plugins.PluginFactory;

View File

@@ -12,7 +12,6 @@ import android.os.Handler;
import android.os.Message;
import android.preference.PreferenceManager;
import android.text.TextUtils;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;

View File

@@ -11,7 +11,6 @@ import android.media.session.MediaController;
import android.media.session.PlaybackState;
import android.os.Build;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;

View File

@@ -8,7 +8,6 @@ package org.kde.kdeconnect.Plugins.SftpPlugin;
import org.apache.sshd.common.file.SshFile;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Calendar;

View File

@@ -12,8 +12,6 @@ import android.view.MenuInflater;
import android.view.View;
import android.view.ViewGroup;
import org.kde.kdeconnect.BackgroundService;
import androidx.annotation.LayoutRes;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

View File

@@ -8,14 +8,10 @@ package org.kde.kdeconnect.UserInterface.List;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import org.kde.kdeconnect.Plugins.Plugin;
import org.kde.kdeconnect_tp.R;
import org.kde.kdeconnect_tp.databinding.ListItemWithIconEntryBinding;
public class PluginItem extends EntryItemWithIcon {
private final View.OnClickListener clickListener;

View File

@@ -32,7 +32,6 @@ import androidx.fragment.app.Fragment;
import org.kde.kdeconnect.BackgroundService;
import org.kde.kdeconnect.Device;
import org.kde.kdeconnect.Helpers.ThreadHelper;
import org.kde.kdeconnect.Helpers.TrustedNetworkHelper;
import org.kde.kdeconnect.UserInterface.List.ListAdapter;
import org.kde.kdeconnect.UserInterface.List.PairingDeviceItem;

View File

@@ -4,7 +4,6 @@ import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.graphics.Color;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.text.TextUtils;
@@ -15,25 +14,20 @@ import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.preference.EditTextPreference;
import androidx.preference.ListPreference;
import androidx.preference.Preference;
import androidx.preference.PreferenceFragmentCompat;
import androidx.preference.PreferenceScreen;
import androidx.preference.SwitchPreferenceCompat;
import androidx.preference.TwoStatePreference;
import androidx.preference.ListPreference;
import com.google.android.material.snackbar.Snackbar;
import org.apache.commons.io.IOUtils;
import org.kde.kdeconnect.BackgroundService;
import org.kde.kdeconnect.Helpers.DeviceHelper;
import org.kde.kdeconnect.Helpers.NotificationHelper;
import org.kde.kdeconnect_tp.R;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.Charset;
public class SettingsFragment extends PreferenceFragmentCompat {
private EditTextPreference renameDevice;

View File

@@ -1,7 +1,6 @@
package org.kde.kdeconnect.UserInterface;
import android.app.Activity;
import android.content.Context;
import android.os.Build;
import androidx.annotation.NonNull;