From 817812066576fb1e2fd627927ad5cfc7bf7c79d5 Mon Sep 17 00:00:00 2001 From: schwabe Date: Mon, 23 Apr 2012 00:15:59 +0200 Subject: organze Imports --- src/de/blinkt/openvpn/AboutFragment.java | 3 --- src/de/blinkt/openvpn/BasicSettings.java | 25 ------------------------- src/de/blinkt/openvpn/FileSelectLayout.java | 9 ++++----- src/de/blinkt/openvpn/MainActivity.java | 1 - src/de/blinkt/openvpn/VPNPreferences.java | 2 -- src/de/blinkt/openvpn/VPNProfileList.java | 6 +----- 6 files changed, 5 insertions(+), 41 deletions(-) (limited to 'src/de') diff --git a/src/de/blinkt/openvpn/AboutFragment.java b/src/de/blinkt/openvpn/AboutFragment.java index a5b5695..c96c583 100644 --- a/src/de/blinkt/openvpn/AboutFragment.java +++ b/src/de/blinkt/openvpn/AboutFragment.java @@ -1,13 +1,10 @@ package de.blinkt.openvpn; -import android.app.Activity; import android.app.Fragment; import android.os.Bundle; -import android.preference.PreferenceFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; -import android.view.View.OnClickListener; public class AboutFragment extends Fragment { diff --git a/src/de/blinkt/openvpn/BasicSettings.java b/src/de/blinkt/openvpn/BasicSettings.java index 271b808..8f4fc77 100644 --- a/src/de/blinkt/openvpn/BasicSettings.java +++ b/src/de/blinkt/openvpn/BasicSettings.java @@ -16,37 +16,15 @@ package de.blinkt.openvpn; -import java.io.FileNotFoundException; -import java.io.FileOutputStream; -import java.io.FileWriter; -import java.io.IOException; -import java.security.KeyStore; -import java.security.KeyStoreException; -import java.security.NoSuchAlgorithmException; -import java.security.PrivateKey; -import java.security.cert.CertificateException; -import java.security.cert.X509Certificate; import java.util.HashMap; -import java.util.Random; -import java.util.Vector; -import javax.net.ssl.TrustManagerFactory; -import javax.net.ssl.X509TrustManager; - -import android.app.Activity; import android.app.Fragment; -import android.content.Context; -import android.content.Intent; -import android.content.SharedPreferences; -import android.net.VpnService; import android.os.Bundle; import android.os.Handler; import android.os.Handler.Callback; import android.os.Message; import android.security.KeyChain; import android.security.KeyChainAliasCallback; -import android.security.KeyChainException; -import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; @@ -59,9 +37,6 @@ import android.widget.EditText; import android.widget.Spinner; import android.widget.TextView; import android.widget.ToggleButton; - -import com.lamerman.FileDialog; - import de.blinkt.openvpn.R.id; public class BasicSettings extends Fragment implements View.OnClickListener, OnItemSelectedListener, Callback, OnCheckedChangeListener { diff --git a/src/de/blinkt/openvpn/FileSelectLayout.java b/src/de/blinkt/openvpn/FileSelectLayout.java index 0615b2a..71fd0fe 100644 --- a/src/de/blinkt/openvpn/FileSelectLayout.java +++ b/src/de/blinkt/openvpn/FileSelectLayout.java @@ -1,19 +1,18 @@ package de.blinkt.openvpn; -import com.lamerman.FileDialog; -import com.lamerman.SelectionMode; - import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.res.TypedArray; import android.util.AttributeSet; +import android.view.View; +import android.view.View.OnClickListener; import android.widget.Button; import android.widget.LinearLayout; import android.widget.TextView; -import android.view.View; -import android.view.View.OnClickListener; +import com.lamerman.FileDialog; +import com.lamerman.SelectionMode; public class FileSelectLayout extends LinearLayout implements OnClickListener { diff --git a/src/de/blinkt/openvpn/MainActivity.java b/src/de/blinkt/openvpn/MainActivity.java index bc82374..fd4fc6a 100644 --- a/src/de/blinkt/openvpn/MainActivity.java +++ b/src/de/blinkt/openvpn/MainActivity.java @@ -3,7 +3,6 @@ package de.blinkt.openvpn; import java.util.List; import android.preference.PreferenceActivity; -import android.preference.PreferenceActivity.Header; public class MainActivity extends PreferenceActivity { @Override diff --git a/src/de/blinkt/openvpn/VPNPreferences.java b/src/de/blinkt/openvpn/VPNPreferences.java index 6c68e44..2773145 100644 --- a/src/de/blinkt/openvpn/VPNPreferences.java +++ b/src/de/blinkt/openvpn/VPNPreferences.java @@ -2,9 +2,7 @@ package de.blinkt.openvpn; import java.util.List; -import android.content.Intent; import android.os.Bundle; -import android.os.Parcelable; import android.preference.CheckBoxPreference; import android.preference.EditTextPreference; import android.preference.Preference; diff --git a/src/de/blinkt/openvpn/VPNProfileList.java b/src/de/blinkt/openvpn/VPNProfileList.java index 74c857d..59e231c 100644 --- a/src/de/blinkt/openvpn/VPNProfileList.java +++ b/src/de/blinkt/openvpn/VPNProfileList.java @@ -1,6 +1,5 @@ package de.blinkt.openvpn; -import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.ObjectInputStream; @@ -10,11 +9,8 @@ import java.util.HashMap; import java.util.HashSet; import java.util.Set; -import de.blinkt.openvpn.VPNConfigPreference.OnQuickSettingsClickListener; - import android.app.Activity; import android.app.AlertDialog; -import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; @@ -22,7 +18,6 @@ import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.os.Bundle; import android.os.Parcelable; -import android.preference.DialogPreference; import android.preference.Preference; import android.preference.Preference.OnPreferenceClickListener; import android.preference.PreferenceFragment; @@ -32,6 +27,7 @@ import android.view.MenuInflater; import android.view.MenuItem; import android.widget.EditText; import android.widget.Toast; +import de.blinkt.openvpn.VPNConfigPreference.OnQuickSettingsClickListener; public class VPNProfileList extends PreferenceFragment implements OnPreferenceClickListener, OnQuickSettingsClickListener { private static final String PREFS_NAME = "VPNList"; -- cgit v1.2.3