forked from upstream-mirrors/quik
Enhancement Do not remove the attached MMS if no recipient set when pressing Send button
This commit is contained in:
@@ -426,7 +426,6 @@ public class ComposeView extends LinearLayout implements View.OnClickListener {
|
|||||||
} else {
|
} else {
|
||||||
attachment = null;
|
attachment = null;
|
||||||
}
|
}
|
||||||
clearAttachment();
|
|
||||||
|
|
||||||
String[] recipients = null;
|
String[] recipients = null;
|
||||||
if (mConversation != null) {
|
if (mConversation != null) {
|
||||||
@@ -440,6 +439,8 @@ public class ComposeView extends LinearLayout implements View.OnClickListener {
|
|||||||
|
|
||||||
// If we have some recipients, send the message!
|
// If we have some recipients, send the message!
|
||||||
if (recipients != null && recipients.length > 0) {
|
if (recipients != null && recipients.length > 0) {
|
||||||
|
clearAttachment();
|
||||||
|
|
||||||
mReplyText.setText("");
|
mReplyText.setText("");
|
||||||
|
|
||||||
AnalyticsManager.getInstance().sendEvent(
|
AnalyticsManager.getInstance().sendEvent(
|
||||||
|
|||||||
Reference in New Issue
Block a user