From 0b3dc2840b070471cc2048210e603b5ae2b3039d Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Fri, 24 Dec 2010 18:54:56 +0000 Subject: [PATCH] Bump us up to android-9 so we can have strict mode for development --- build.properties | 2 +- default.properties | 2 +- src/com/fsck/k9/preferences/Editor.java | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/build.properties b/build.properties index 9c498adc7..7b7f4a0a4 100644 --- a/build.properties +++ b/build.properties @@ -1,2 +1,2 @@ application-package=com.fsck.k9 -target=android-8 +target=android-9 diff --git a/default.properties b/default.properties index 51e933a98..247186a6a 100644 --- a/default.properties +++ b/default.properties @@ -10,4 +10,4 @@ # Indicates whether an apk should be generated for each density. split.density=false # Project target. -target=android-8 +target=android-9 diff --git a/src/com/fsck/k9/preferences/Editor.java b/src/com/fsck/k9/preferences/Editor.java index 4b2de49a7..601d527b3 100644 --- a/src/com/fsck/k9/preferences/Editor.java +++ b/src/com/fsck/k9/preferences/Editor.java @@ -56,6 +56,12 @@ public class Editor implements android.content.SharedPreferences.Editor return this; } + + // TODO Android 2.3 provides a sexy new "apply" method we need to implement + public void apply() { commit(); } + + + /* This method is poorly defined. It should throw an Exception on failure */ //@Override public boolean commit()