From 6696e838da55d9fb77a3acb316bdc6b765258f13 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 21 Jul 2018 12:40:37 +0530 Subject: [PATCH] treewide: Optimize imports Signed-off-by: Harsh Shandilya --- .../wireguard/android/activity/ThemeChangeAwareActivity.java | 4 ---- .../com/wireguard/android/fragment/AppListDialogFragment.java | 3 --- .../com/wireguard/android/fragment/TunnelListFragment.java | 1 - .../fab/FloatingActionsMenuRecyclerViewScrollListener.java | 2 -- 4 files changed, 10 deletions(-) diff --git a/app/src/main/java/com/wireguard/android/activity/ThemeChangeAwareActivity.java b/app/src/main/java/com/wireguard/android/activity/ThemeChangeAwareActivity.java index de8020f1..75b7251b 100644 --- a/app/src/main/java/com/wireguard/android/activity/ThemeChangeAwareActivity.java +++ b/app/src/main/java/com/wireguard/android/activity/ThemeChangeAwareActivity.java @@ -6,17 +6,13 @@ package com.wireguard.android.activity; import android.content.SharedPreferences; -import android.content.res.Resources; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.support.v7.app.AppCompatDelegate; -import android.util.Log; import com.wireguard.android.Application; -import java.lang.reflect.Field; - public abstract class ThemeChangeAwareActivity extends AppCompatActivity implements SharedPreferences.OnSharedPreferenceChangeListener { diff --git a/app/src/main/java/com/wireguard/android/fragment/AppListDialogFragment.java b/app/src/main/java/com/wireguard/android/fragment/AppListDialogFragment.java index 76a8c97c..33576413 100644 --- a/app/src/main/java/com/wireguard/android/fragment/AppListDialogFragment.java +++ b/app/src/main/java/com/wireguard/android/fragment/AppListDialogFragment.java @@ -8,7 +8,6 @@ package com.wireguard.android.fragment; import android.app.Activity; import android.app.Dialog; -import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; @@ -22,10 +21,8 @@ import android.widget.Toast; import com.wireguard.android.Application; import com.wireguard.android.R; -import com.wireguard.android.activity.BaseActivity; import com.wireguard.android.databinding.AppListDialogFragmentBinding; import com.wireguard.android.model.ApplicationData; -import com.wireguard.android.model.Tunnel; import com.wireguard.android.util.ExceptionLoggers; import com.wireguard.android.util.ObservableKeyedArrayList; import com.wireguard.android.util.ObservableKeyedList; diff --git a/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java b/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java index 352c71d7..d0019c91 100644 --- a/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java +++ b/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java @@ -6,7 +6,6 @@ package com.wireguard.android.fragment; -import android.animation.TimeInterpolator; import android.annotation.SuppressLint; import android.app.Activity; import android.content.ContentResolver; diff --git a/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenuRecyclerViewScrollListener.java b/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenuRecyclerViewScrollListener.java index f526d6e8..63f9d59c 100644 --- a/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenuRecyclerViewScrollListener.java +++ b/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenuRecyclerViewScrollListener.java @@ -7,8 +7,6 @@ package com.wireguard.android.widget.fab; import android.support.v7.widget.RecyclerView; -import com.wireguard.android.R; - public class FloatingActionsMenuRecyclerViewScrollListener extends RecyclerView.OnScrollListener { private static final float SCALE_FACTOR = 1.5f; private final FloatingActionsMenu menu;