Browse Source

Remove unused imports

master
Anthony Restaino 8 years ago
parent
commit
0eff038407
  1. 2
      app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java
  2. 1
      app/src/main/java/acr/browser/lightning/async/ImageDownloadTask.java
  3. 1
      app/src/main/java/acr/browser/lightning/database/HistoryDatabase.java
  4. 6
      app/src/main/java/acr/browser/lightning/dialog/BrowserDialog.java
  5. 1
      app/src/main/java/acr/browser/lightning/dialog/LightningDialogBuilder.java
  6. 1
      app/src/main/java/acr/browser/lightning/search/SuggestionsTask.java
  7. 1
      app/src/main/java/acr/browser/lightning/utils/AdBlock.java
  8. 1
      app/src/main/java/acr/browser/lightning/utils/MemoryLeakUtils.java
  9. 2
      app/src/main/java/acr/browser/lightning/utils/ThemeUtils.java
  10. 2
      app/src/main/java/acr/browser/lightning/utils/Utils.java

2
app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java

@ -69,9 +69,7 @@ import android.webkit.WebIconDatabase; @@ -69,9 +69,7 @@ import android.webkit.WebIconDatabase;
import android.webkit.WebView;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.AutoCompleteTextView;
import android.widget.EditText;
import android.widget.FrameLayout;
import android.widget.ImageButton;
import android.widget.ImageView;

1
app/src/main/java/acr/browser/lightning/async/ImageDownloadTask.java

@ -7,7 +7,6 @@ import android.graphics.BitmapFactory; @@ -7,7 +7,6 @@ import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.AsyncTask;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.Log;
import android.widget.ImageView;

1
app/src/main/java/acr/browser/lightning/database/HistoryDatabase.java

@ -9,7 +9,6 @@ import android.database.Cursor; @@ -9,7 +9,6 @@ import android.database.Cursor;
import android.database.DatabaseUtils;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.database.sqlite.SQLiteQuery;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

6
app/src/main/java/acr/browser/lightning/dialog/BrowserDialog.java

@ -7,8 +7,6 @@ import android.support.annotation.Nullable; @@ -7,8 +7,6 @@ import android.support.annotation.Nullable;
import android.support.annotation.StringRes;
import android.support.v7.app.AlertDialog;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.EditText;
import android.widget.LinearLayout;
@ -17,10 +15,6 @@ import java.util.ArrayList; @@ -17,10 +15,6 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import acr.browser.lightning.R;
import acr.browser.lightning.bus.BookmarkEvents;
import acr.browser.lightning.constant.Constants;
import acr.browser.lightning.database.HistoryItem;
import acr.browser.lightning.utils.Utils;
/**

1
app/src/main/java/acr/browser/lightning/dialog/LightningDialogBuilder.java

@ -13,7 +13,6 @@ import android.view.View; @@ -13,7 +13,6 @@ import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.AutoCompleteTextView;
import android.widget.EditText;
import android.widget.LinearLayout;
import com.squareup.otto.Bus;

1
app/src/main/java/acr/browser/lightning/search/SuggestionsTask.java

@ -19,7 +19,6 @@ import java.io.FileInputStream; @@ -19,7 +19,6 @@ import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.lang.ref.WeakReference;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLEncoder;

1
app/src/main/java/acr/browser/lightning/utils/AdBlock.java

@ -12,7 +12,6 @@ import java.io.InputStreamReader; @@ -12,7 +12,6 @@ import java.io.InputStreamReader;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.HashSet;
import java.util.Locale;
import java.util.Set;
import javax.inject.Inject;

1
app/src/main/java/acr/browser/lightning/utils/MemoryLeakUtils.java

@ -11,7 +11,6 @@ import android.view.View; @@ -11,7 +11,6 @@ import android.view.View;
import android.view.inputmethod.InputMethodManager;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
public class MemoryLeakUtils {

2
app/src/main/java/acr/browser/lightning/utils/ThemeUtils.java

@ -3,7 +3,6 @@ package acr.browser.lightning.utils; @@ -3,7 +3,6 @@ package acr.browser.lightning.utils;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.ColorFilter;
@ -12,7 +11,6 @@ import android.graphics.PorterDuff; @@ -12,7 +11,6 @@ import android.graphics.PorterDuff;
import android.graphics.PorterDuffColorFilter;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.VectorDrawable;
import android.os.Build;
import android.support.annotation.AttrRes;
import android.support.annotation.ColorInt;

2
app/src/main/java/acr/browser/lightning/utils/Utils.java

@ -32,8 +32,6 @@ import android.text.TextUtils; @@ -32,8 +32,6 @@ import android.text.TextUtils;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.View;
import android.view.animation.AccelerateInterpolator;
import android.view.animation.DecelerateInterpolator;
import android.webkit.URLUtil;
import com.anthonycr.grant.PermissionsManager;

Loading…
Cancel
Save