summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com/wireguard
diff options
context:
space:
mode:
authorHarsh Shandilya <harsh@prjkt.io>2018-07-21 12:40:37 +0530
committerJason A. Donenfeld <Jason@zx2c4.com>2018-07-22 18:20:23 +0200
commitc238cdc2afc65acf9c13096fcb65b501ff579bdf (patch)
tree6ef7ebf66633fa1fda70d04b500bc31ff50d9352 /app/src/main/java/com/wireguard
parent680cf130c96f024bf67d65a5b9f33dfbe152afe3 (diff)
treewide: Optimize imports
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
Diffstat (limited to 'app/src/main/java/com/wireguard')
-rw-r--r--app/src/main/java/com/wireguard/android/activity/ThemeChangeAwareActivity.java4
-rw-r--r--app/src/main/java/com/wireguard/android/fragment/AppListDialogFragment.java3
-rw-r--r--app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java1
-rw-r--r--app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenuRecyclerViewScrollListener.java2
4 files changed, 0 insertions, 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;