diff options
Diffstat (limited to 'src/de/blinkt')
-rw-r--r-- | src/de/blinkt/openvpn/VpnProfile.java | 4 | ||||
-rw-r--r-- | src/de/blinkt/openvpn/fragments/Settings_Authentication.java | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/de/blinkt/openvpn/VpnProfile.java b/src/de/blinkt/openvpn/VpnProfile.java index c427297c..879e34e4 100644 --- a/src/de/blinkt/openvpn/VpnProfile.java +++ b/src/de/blinkt/openvpn/VpnProfile.java @@ -140,7 +140,7 @@ public class VpnProfile implements Serializable { } public void clearDefaults() { - mServerName = "unkown"; + mServerName = "unknown"; mUsePull = false; mUseLzo = false; mUseDefaultRoute = false; @@ -155,6 +155,8 @@ public class VpnProfile implements Serializable { } public String getName() { + if (mName==null) + return "No profile name"; return mName; } diff --git a/src/de/blinkt/openvpn/fragments/Settings_Authentication.java b/src/de/blinkt/openvpn/fragments/Settings_Authentication.java index 9aed464d..7c62cd30 100644 --- a/src/de/blinkt/openvpn/fragments/Settings_Authentication.java +++ b/src/de/blinkt/openvpn/fragments/Settings_Authentication.java @@ -157,7 +157,7 @@ public class Settings_Authentication extends OpenVpnPreferencesFragment implemen } @Override - public boolean onPreferenceClick(Preference preference) { + public boolean P(Preference preference) { startFileDialog(); return true; |