From d88472116110960c631208f22bd258e810dc7dd7 Mon Sep 17 00:00:00 2001 From: cketti Date: Sat, 12 Nov 2011 00:49:47 +0100 Subject: [PATCH] Fixed bug where "Save draft?" dialog wasn't shown With Android 1.5/1.6 and "Manage back button" disabled the "Save draft?" dialog was never shown when leaving MessageCompose. --- src/com/fsck/k9/activity/MessageCompose.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/fsck/k9/activity/MessageCompose.java b/src/com/fsck/k9/activity/MessageCompose.java index 3a282a947..cee78b993 100644 --- a/src/com/fsck/k9/activity/MessageCompose.java +++ b/src/com/fsck/k9/activity/MessageCompose.java @@ -1875,8 +1875,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc // android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.ECLAIR && keyCode == KeyEvent.KEYCODE_BACK - && event.getRepeatCount() == 0 - && K9.manageBack()) { + && event.getRepeatCount() == 0) { // Take care of calling this method on earlier versions of // the platform where it doesn't exist. onBackPressed();