summaryrefslogtreecommitdiff
path: root/src/de/blinkt
diff options
context:
space:
mode:
authorschwabe <devnull@localhost>2012-04-23 00:15:59 +0200
committerschwabe <devnull@localhost>2012-04-23 00:15:59 +0200
commit817812066576fb1e2fd627927ad5cfc7bf7c79d5 (patch)
tree3af4041e143ca2a60b051d938685a409cf22ebf9 /src/de/blinkt
parent58e2574f6a27930679f976278ad9c3dbc8d4ef2a (diff)
organze Imports
Diffstat (limited to 'src/de/blinkt')
-rw-r--r--src/de/blinkt/openvpn/AboutFragment.java3
-rw-r--r--src/de/blinkt/openvpn/BasicSettings.java25
-rw-r--r--src/de/blinkt/openvpn/FileSelectLayout.java9
-rw-r--r--src/de/blinkt/openvpn/MainActivity.java1
-rw-r--r--src/de/blinkt/openvpn/VPNPreferences.java2
-rw-r--r--src/de/blinkt/openvpn/VPNProfileList.java6
6 files changed, 5 insertions, 41 deletions
diff --git a/src/de/blinkt/openvpn/AboutFragment.java b/src/de/blinkt/openvpn/AboutFragment.java
index a5b5695e..c96c5833 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 271b8085..8f4fc770 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 0615b2ab..71fd0fe4 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 bc823745..fd4fc6a2 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 6c68e444..27731453 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 74c857d3..59e231cc 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";