mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 09:08:49 -05:00
Reverted a part of r1872.
Should save draft when the home button is pressed.
This commit is contained in:
parent
49e5ad4963
commit
eb7289f97b
@ -601,6 +601,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
|
||||
public void onPause()
|
||||
{
|
||||
super.onPause();
|
||||
saveIfNeeded();
|
||||
MessagingController.getInstance(getApplication()).removeListener(mListener);
|
||||
}
|
||||
|
||||
@ -616,6 +617,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
|
||||
protected void onSaveInstanceState(Bundle outState)
|
||||
{
|
||||
super.onSaveInstanceState(outState);
|
||||
saveIfNeeded();
|
||||
ArrayList<Uri> attachments = new ArrayList<Uri>();
|
||||
for (int i = 0, count = mAttachments.getChildCount(); i < count; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user