Commit 9fdb5466 authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Removed unused imports

parent 87f9b8a7
......@@ -3,7 +3,6 @@ package com.frostnerd.dnschanger;
import android.app.Application;
import com.frostnerd.dnschanger.activities.ErrorDialogActivity;
import com.frostnerd.dnschanger.database.DatabaseHelper;
import com.frostnerd.dnschanger.util.ThemeHandler;
/**
......
......@@ -30,7 +30,6 @@ import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.List;
/**
* Copyright Daniel Wolf 2017
......
package com.frostnerd.dnschanger.activities;
import android.Manifest;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.KeyguardManager;
import android.content.BroadcastReceiver;
......
......@@ -15,8 +15,6 @@ import com.frostnerd.utils.preferences.util.PreferenceHelper;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import org.json.JSONObject;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
......
......@@ -14,7 +14,6 @@ import android.widget.TextView;
import com.frostnerd.dnschanger.R;
import com.frostnerd.dnschanger.database.DatabaseHelper;
import com.frostnerd.dnschanger.database.entities.DNSQuery;
import com.frostnerd.dnschanger.util.Util;
import com.frostnerd.utils.adapters.DatabaseAdapter;
import com.frostnerd.utils.database.orm.parser.columns.Column;
import com.frostnerd.utils.database.orm.statementoptions.queryoptions.OrderOption;
......
......@@ -15,7 +15,6 @@ import com.frostnerd.utils.adapters.BaseAdapter;
import com.frostnerd.utils.general.DesignUtil;
import org.xbill.DNS.DClass;
import org.xbill.DNS.RRset;
import org.xbill.DNS.Record;
import org.xbill.DNS.Type;
......
package com.frostnerd.dnschanger.adapters;
import android.app.Activity;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
......
......@@ -5,7 +5,6 @@ import android.database.Cursor;
import com.frostnerd.dnschanger.database.DatabaseHelper;
import com.frostnerd.dnschanger.database.entities.DNSRule;
import com.frostnerd.dnschanger.util.Util;
import com.frostnerd.utils.database.orm.parser.ParsedEntity;
import com.frostnerd.utils.database.orm.parser.columns.Column;
import com.frostnerd.utils.database.orm.statementoptions.queryoptions.WhereCondition;
......
......@@ -11,7 +11,6 @@ import com.frostnerd.utils.database.orm.annotations.Serialized;
import com.frostnerd.utils.database.orm.annotations.Table;
import com.frostnerd.utils.database.orm.annotations.Unique;
import java.util.Comparator;
import java.util.TreeMap;
@Table(name = "DNSEntry")
......
......@@ -4,7 +4,6 @@ import android.content.Context;
import android.content.DialogInterface;
import android.os.Vibrator;
import android.support.annotation.NonNull;
import android.support.v7.app.AlertDialog;
import android.text.Editable;
import android.text.InputFilter;
import android.text.InputType;
......
......@@ -3,7 +3,6 @@ package com.frostnerd.dnschanger.dialogs;
import android.content.Context;
import android.content.DialogInterface;
import android.support.annotation.NonNull;
import android.support.v7.app.AlertDialog;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.ListView;
......
......@@ -7,7 +7,6 @@ import android.os.Vibrator;
import android.support.annotation.IdRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.app.AlertDialog;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
......
......@@ -28,7 +28,6 @@ import com.frostnerd.utils.networking.NetworkUtil;
import org.xbill.DNS.Lookup;
import org.xbill.DNS.Name;
import org.xbill.DNS.Options;
import org.xbill.DNS.Record;
import org.xbill.DNS.Resolver;
import org.xbill.DNS.SimpleResolver;
......
......@@ -19,7 +19,6 @@ import android.view.ViewGroup;
import android.widget.TextView;
import com.frostnerd.dnschanger.R;
import com.frostnerd.dnschanger.activities.MainActivity;
import com.frostnerd.dnschanger.adapters.QueryLogAdapter;
import com.frostnerd.dnschanger.database.DatabaseHelper;
import com.frostnerd.dnschanger.database.accessors.QueryLogger;
......
......@@ -6,7 +6,6 @@ import android.os.Build;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.frostnerd.dnschanger.R;
import com.frostnerd.utils.preferences.restrictions.PreferenceRestriction;
import com.frostnerd.utils.preferences.restrictions.PreferencesRestrictionBuilder;
import com.frostnerd.utils.preferences.restrictions.Type;
......
......@@ -4,7 +4,6 @@ import android.app.Activity;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.app.job.JobInfo;
import android.app.job.JobScheduler;
import android.content.ComponentName;
......
......@@ -13,7 +13,6 @@ import com.frostnerd.dnschanger.database.DatabaseHelper;
import com.frostnerd.dnschanger.database.accessors.DNSResolver;
import com.frostnerd.dnschanger.database.accessors.QueryLogger;
import com.frostnerd.dnschanger.database.entities.IPPortPair;
import com.frostnerd.dnschanger.util.Util;
import org.pcap4j.packet.IpPacket;
import org.pcap4j.packet.IpSelector;
......
......@@ -13,7 +13,6 @@ import com.frostnerd.dnschanger.database.DatabaseHelper;
import com.frostnerd.dnschanger.database.accessors.DNSResolver;
import com.frostnerd.dnschanger.database.accessors.QueryLogger;
import com.frostnerd.dnschanger.database.entities.IPPortPair;
import com.frostnerd.dnschanger.util.Util;
import org.pcap4j.packet.IpPacket;
import org.pcap4j.packet.IpSelector;
......
......@@ -7,14 +7,10 @@ import android.os.IBinder;
import android.os.ParcelFileDescriptor;
import android.support.annotation.Nullable;
import android.support.annotation.RequiresApi;
import android.system.ErrnoException;
import android.system.OsConstants;
import com.frostnerd.utils.networking.NetworkUtil;
import java.io.FileDescriptor;
import java.io.IOException;
/**
* Copyright Daniel Wolf 2017
* All rights reserved.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment