Consider attachments for empty messages
Since we thought the message was empty, tapping on back doesn't save the draft. Bug: 5057044 Change-Id: I99d903430b0e0a40dc23eb805cf24961e9ca2301
This commit is contained in:
parent
b7b0b04f50
commit
8d8814ed35
@ -549,7 +549,8 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
|
||||
&& (mCcView.length() == 0)
|
||||
&& (mBccView.length() == 0)
|
||||
&& (mSubjectView.length() == 0)
|
||||
&& isBodyEmpty();
|
||||
&& isBodyEmpty()
|
||||
&& mAttachments.isEmpty();
|
||||
}
|
||||
|
||||
private boolean isBodyEmpty() {
|
||||
|
Loading…
Reference in New Issue
Block a user