aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/org/connectbot/HostEditorActivity.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/org/connectbot/HostEditorActivity.java b/src/org/connectbot/HostEditorActivity.java
index 95d04cc..a994b1b 100644
--- a/src/org/connectbot/HostEditorActivity.java
+++ b/src/org/connectbot/HostEditorActivity.java
@@ -130,6 +130,11 @@ public class HostEditorActivity extends PreferenceActivity implements OnSharedPr
return true;
}
+ // Gingerbread compatibility
+ public void apply() {
+ commit();
+ }
+
public android.content.SharedPreferences.Editor putBoolean(String key, boolean value) {
return this.putString(key, Boolean.toString(value));
}
@@ -157,7 +162,6 @@ public class HostEditorActivity extends PreferenceActivity implements OnSharedPr
update.remove(key);
return this;
}
-
}