diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-05-13 01:16:27 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-05-13 01:16:27 +0200 |
commit | 9e2afc72b16125f7c365b8d600f6f5df36aa8f48 (patch) | |
tree | f2733212c02f8816a6188c70fd0e358876b90d0e /src/de/blinkt/openvpn/Settings_Basic.java | |
parent | 5a65e0c5e80d147909acffa14b04d3c99d48de1a (diff) |
Config Import useable (closes issue #14)
Correct save/restore state in Basic Settings (closes issue #17)
Diffstat (limited to 'src/de/blinkt/openvpn/Settings_Basic.java')
-rw-r--r-- | src/de/blinkt/openvpn/Settings_Basic.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/Settings_Basic.java b/src/de/blinkt/openvpn/Settings_Basic.java index 7586b27d..00663173 100644 --- a/src/de/blinkt/openvpn/Settings_Basic.java +++ b/src/de/blinkt/openvpn/Settings_Basic.java @@ -124,6 +124,7 @@ public class Settings_Basic extends Fragment implements View.OnClickListener, On addFileSelectLayout(mClientCert); addFileSelectLayout(mClientKey); addFileSelectLayout(mpkcs12); + mpkcs12.setNoline(); loadPreferences(); @@ -285,6 +286,7 @@ public class Settings_Basic extends Fragment implements View.OnClickListener, On @Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); + savePreferences(); outState.putString(getActivity().getPackageName() + "profileUUID", mProfile.getUUID().toString()); } |