diff --git a/src/com/android/email/activity/MessageCompose.java b/src/com/android/email/activity/MessageCompose.java index 9f2add56b..59e2b7dbc 100644 --- a/src/com/android/email/activity/MessageCompose.java +++ b/src/com/android/email/activity/MessageCompose.java @@ -16,6 +16,7 @@ package com.android.email.activity; +import com.android.common.contacts.DataUsageStatUpdater; import com.android.email.Controller; import com.android.email.Email; import com.android.email.EmailAddressAdapter; @@ -1209,6 +1210,13 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus R.string.message_view_attachment_background_load); } mController.sendMessage(mDraft.mId, mDraft.mAccountKey); + + ArrayList addressTexts = new ArrayList(); + addressTexts.add(mToView.getText()); + addressTexts.add(mCcView.getText()); + addressTexts.add(mBccView.getText()); + DataUsageStatUpdater updater = new DataUsageStatUpdater(mContext); + updater.updateWithRfc822Address(addressTexts); } return mDraft.mId; }