diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-05-14 23:06:36 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-05-14 23:06:36 +0200 |
commit | e445ab7fdc6c3912291eaad7aac209b511bcd245 (patch) | |
tree | b925a150868fb635ab928a2e5e618f5e0bd46f85 /src/de/blinkt/openvpn/VPNPreferences.java | |
parent | 320e9a6d8f9c5329a163db370c988db4bde011bf (diff) |
- Rework saving state of preferences fragment
- fix state of nobind not loaded (hopefully closes issue #19)
Version 0.5.4
Diffstat (limited to 'src/de/blinkt/openvpn/VPNPreferences.java')
-rw-r--r-- | src/de/blinkt/openvpn/VPNPreferences.java | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/de/blinkt/openvpn/VPNPreferences.java b/src/de/blinkt/openvpn/VPNPreferences.java index e1c8a401..f128270a 100644 --- a/src/de/blinkt/openvpn/VPNPreferences.java +++ b/src/de/blinkt/openvpn/VPNPreferences.java @@ -9,10 +9,6 @@ import android.preference.PreferenceActivity; public class VPNPreferences extends PreferenceActivity { private String mProfileUUID; - private Settings_Basic mBS; - public void setmBS(Settings_Basic mBS) { - this.mBS = mBS; - } public VPNPreferences() { super(); @@ -20,13 +16,7 @@ public class VPNPreferences extends PreferenceActivity { } - protected void onPause() { - super.onPause(); - if(mBS!=null) - mBS.savePreferences(); - } - @Override protected void onStop() { @@ -39,14 +29,6 @@ public class VPNPreferences extends PreferenceActivity { protected void onCreate(Bundle savedInstanceState) { mProfileUUID = getIntent().getStringExtra(getPackageName() + ".profileUUID"); super.onCreate(savedInstanceState); - - - - /* if (hasHeaders()) { - Button button = new Button(this); - button.setText("Save"); - setListFooter(button); - } */ } |