History log of /packages/apps/Email/src/com/android/email/AttachmentInfo.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bc47398187c6ffd132435e51d8d61e6ec79a79db 25-Sep-2012 Paul Westbrook <pwestbro@google.com> Merge Email1 into MR1

Change-Id: I45289d46b65faffc7a3a3dd46382899162f3aaab
/packages/apps/Email/src/com/android/email/AttachmentInfo.java
cc0185f07c9198008d8dc685ae9979f3e35e8539 28-Jun-2012 Marc Blank <mblank@google.com> Manual merge of Email from jb-ub-mail

Change-Id: I564ddf433d371f45ba78a10f73bb182d484c56f2
/packages/apps/Email/src/com/android/email/AttachmentInfo.java
6e4aa237c01cec7b1ee2915ccdec1df7737d2339 08-May-2012 Marc Blank <mblank@google.com> Handle Settings.Secure.INSTALL_NON_MARKET_APPS better

* A new value (2) is being added, so change the check from == 1
to != 0

Bug: 6369901
Change-Id: I22bcb76fc3b5669a295efff4cf0772f05f7071fd
/packages/apps/Email/src/com/android/email/AttachmentInfo.java
9d9b481a85df540f8f338d28919802828a387efe 11-May-2011 Marc Blank <mblank@google.com> Add plumbing for disallowing attachment download per policy

Change-Id: I860dfb5c28933dcd4bf96c8e4bc890bff0f53c42
/packages/apps/Email/src/com/android/email/AttachmentInfo.java
e36648697f242991a8df0fdc6b23330f7be5e331 20-Apr-2011 Ben Komalo <benkomalo@google.com> Fix apk attachments so they can be installed

This introduces an in-memory cache of file paths for an attachment so
that we can install from a filepath instead of a content URI.
The cache also allows us to prevent duplicated files made if the user
hits save multiple times (the save button is disabled).

Bug: 3338997
Change-Id: I56651a55eef2f1a3f24b6d936c37736c4fc3d295
/packages/apps/Email/src/com/android/email/AttachmentInfo.java
2577842269f035856b877eb990567c7a32e81252 08-Apr-2011 Ben Komalo <benkomalo@google.com> Misc fixes and dead code removal.

Change-Id: I48b2fa5f7bf619197d882c71e8b174d31d130e26
/packages/apps/Email/src/com/android/email/AttachmentInfo.java
973702b30e8c2fb2f622f4ef37b42b3bdbd3ef17 08-Mar-2011 Marc Blank <mblank@google.com> Only allow prefetch when on a WiFi network

Bug: 3515125

Change-Id: I0814ea20b1fc73807667e7f9531c1ea065bfa803
/packages/apps/Email/src/com/android/email/AttachmentInfo.java
3f60e9312b1bf1324dd0e343b07cb69c9f8d31fd 19-Feb-2011 Todd Kennedy <toddke@google.com> Add "info" button to the attachment view

Whenever we remove the "load" and "view" buttons, we should add an "info"
button; where we will inform the user as to why we are preventing her from
seeing the attachment.

bug 3338997

Change-Id: Ic243f1542dec55f5b256eeb67ade50aa90e42009
/packages/apps/Email/src/com/android/email/AttachmentInfo.java
31d9acbf0623872f9d4a2b3210b5970854b654c7 12-Feb-2011 Marc Blank <mblank@google.com> Email split, part huit: Refactor constants, clean emailcommon

* There are three pieces to this CL (sorry):
1) Move and/or rename some constants into emailcommon
2) Move Utility to emailcommon, moving the few UI
related utilities back into Email (FolderProperties
and UiUtilities)
3) Remove all references to resources from emailcommon
* The three pieces relate in that, between them, they allow
the emailcommon static library to compile cleanly

Bug: 3442973

Change-Id: Ic5e3abaa2a1b36999e0b6653c6c2134ea1bd544f
/packages/apps/Email/src/com/android/email/AttachmentInfo.java
a7bc0319a75184ad706bb35c049af107ac3688e6 10-Feb-2011 Marc Blank <mblank@google.com> Email split, part six: EmailContent

* Moved EmailContent to emailcommon

Change-Id: Ib3db1bfcfe74554c0e5afd3cfce6d72f26e9aeb9
/packages/apps/Email/src/com/android/email/AttachmentInfo.java
2193962ca2b3157e79f731736afa2a0c972e778a 10-Feb-2011 Marc Blank <mblank@google.com> Email split, part quatre: Move along, nothing to see here

* No code was harmed, er, changed in the making of this CL
* All that's happened is that code that is needed by both Email and
Exchange have been moved into emailcommon
* This required import changes to many files, which explains the
length of the CL

Change-Id: I4e12455ba057a4a8054fdbd0b578c73afa411c8a
/packages/apps/Email/src/com/android/email/AttachmentInfo.java
8a574694606f0e5d781334d0d426fc379c51f3ed 09-Feb-2011 Marc Blank <mblank@google.com> Email split, part trois: AccountService

* Create AccountService.aidl and AccountServiceProxy in emailcommon
* Implement AccountService in email
* Use AccountServiceProxy in Exchange for account reconciliation,
notifications, etc.
* Move sync window constants into emailcommon
* Split attachment provider utilities and constants into emailcommon

Bug: 3442973
Change-Id: I89dce28b799b193243c07774dab65d830ae62775
/packages/apps/Email/src/com/android/email/AttachmentInfo.java
1264651c69da9a6389de40c49f61e28873b4d07d 22-Jan-2011 Marc Blank <mblank@google.com> Prevent logging about "attachment with null contentUri"

Bug: 3373982
Change-Id: I41b655041d5c244484435fe5bab7649d9ca569eb
/packages/apps/Email/src/com/android/email/AttachmentInfo.java
475c20d3a883737853aa7301cc649736a36387c5 20-Jan-2011 Marc Blank <mblank@google.com> Implement checks before performing background attachment download

Bug: 3339007
Change-Id: I36a8359f3478c37b2ccd6a0cf0381569c592061a
/packages/apps/Email/src/com/android/email/AttachmentInfo.java
3a761c8038173efe42e67cd9d48a95b059427f0f 18-Jan-2011 Marc Blank <mblank@google.com> Split out AttachmentInfo into its own top-level class

* Determine load state and allowability of view/save in constructor
* Extend AttachmentInfo in MessageViewFragmentBase to include views,
buttons, etc. and to add extra requirements for view/save as
needed (e.g. availabilty of external storage)

Change-Id: I2ce2b4e71fd784ef0329e391cc0e2d1639f8273c
/packages/apps/Email/src/com/android/email/AttachmentInfo.java