mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-15 14:05:05 -05:00
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.
This commit is contained in:
parent
52469db66c
commit
d884721161
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user