diff options
author | kaiyiz <kaiyiz@codeaurora.org> | 2014-03-21 11:15:55 +0800 |
---|---|---|
committer | Adnan <adnan@cyngn.com> | 2014-09-03 15:41:22 -0700 |
commit | 5446d6bfbb2efce3bf1f3f912adb8980559b191d (patch) | |
tree | f5fb3a3e59ef8ddd2ce7884919fbba74cfa5d27c /src/com/android/mail/browse/MessageAttachmentBar.java | |
parent | dae8c5ed80cc3f2ee243fb9cf22b25cd20a3a4f1 (diff) | |
download | android_packages_apps_UnifiedEmail-5446d6bfbb2efce3bf1f3f912adb8980559b191d.tar.gz android_packages_apps_UnifiedEmail-5446d6bfbb2efce3bf1f3f912adb8980559b191d.tar.bz2 android_packages_apps_UnifiedEmail-5446d6bfbb2efce3bf1f3f912adb8980559b191d.zip |
UnifiedEmail: Use the cached attachment to save first
Now try to use the cached attachment to save first. If the attachment
is not cached, send the command to download it.
CRs-Fixed: 601682
Change-Id: I16917c192c76a077dcf478001e276c3b6a7f7e93
Diffstat (limited to 'src/com/android/mail/browse/MessageAttachmentBar.java')
-rw-r--r-- | src/com/android/mail/browse/MessageAttachmentBar.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/mail/browse/MessageAttachmentBar.java b/src/com/android/mail/browse/MessageAttachmentBar.java index cfcbb34b7..c4c74d093 100644 --- a/src/com/android/mail/browse/MessageAttachmentBar.java +++ b/src/com/android/mail/browse/MessageAttachmentBar.java @@ -175,7 +175,6 @@ public class MessageAttachmentBar extends FrameLayout implements OnClickListener } else if (res == R.id.save_attachment) { if (mAttachment.canSave()) { mActionHandler.startDownloadingAttachment(AttachmentDestination.EXTERNAL); - mSaveClicked = true; Analytics.getInstance().sendEvent( "save_attachment", Utils.normalizeMimeType(mAttachment.getContentType()), |