908fac0b247deff27fee44297f892afdfbb086a5 |
|
17-Aug-2013 |
Paul Westbrook <pwestbro@google.com> |
Fix NPE Bug: 10292690 Change-Id: I34714a6a07bcaba3d20fdae32ee6b129c74c8a32
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
560bfadc3151f7a06f3b06e9a6c92cfa534c63ec |
|
26-May-2013 |
Scott Kennedy <skennedy@google.com> |
Unify LogTag There is now only one LogTag class. The static initializer of GmailApplication (existing) and EmailApplication (new) will now set the log tag to "Gmail" and "Email", respectively. Up until that code is run, it will be "UnifiedEmail". "setprop log.tag.Gmail VERBOSE" (or .Email) will trigger all logs to be printed as long as they go through LogUtils, regardless of what tag is used by that individual log. This lets us still turn on logging everywhere in one command, but also lets us use more descriptive tags (like the class name). And since we no longer have three com.android.mail.utils.LogTag classes, builds will be much easier. Also, we now use LogUtils everywhere. Change-Id: I55f1c7a66ce50ead54877a13e40256422a56dc39
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
7fdde9bb4a24e931618a7a64227e2194c89034da |
|
07-Feb-2013 |
Scott Kennedy <skennedy@google.com> |
Cache column name/indexes so we can use getColumnIndex() MatrixCursor doesn't do this, so we need to add our own cache. Depends on Ia5ffd31f54a2a335f495df5e0d1a0886ee08c14b Change-Id: Ica78e3cec747bf86fcef16508156e359216c64fe
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
e714bb9d153cfe13a7f0932e7d67ea08fa5a1d98 |
|
23-Aug-2012 |
Marc Blank <mblank@google.com> |
Convert authorities, intents, and account manager types * Tested ok on wiped Nexus * Tested ok on S3 * Upgrade verified on Nexus Change-Id: If5d4ce594f8a309cdb59589d10b1d33f3b79326c
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
f419287f22ae44f25e1ba1f757ec33c7941bbfa8 |
|
28-Jun-2012 |
Marc Blank <mblank@google.com> |
DO NOT MERGE: Move emailcommon2 sources to emailcommon Change-Id: I06df7e467cd2e0117df8b8db3ddc6ff9da13f1c7
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.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/provider/AttachmentProvider.java
|
dc78a769fce18d259eccc602c4623fa74cdf5319 |
|
14-Feb-2011 |
Marc Blank <mblank@google.com> |
Email split, part dix * The coup de grĂ¢ce for Exchange in Email * Remove Exchange bits from AndroidManifest * Update Android.mk to create static jar for emailcommon * Delete all com.android.exchange files * Delete all exchange-only strings * Change loadAttachment service method to take only attachment id and background flag * Add code to AttachmentProvider.openFile() that opens an output file for attachment writes * Make sure deviceId is determined in Email app (not Exchange) Bug: 3442973 Change-Id: I775600252fd121f474d51cb26fefbfcc50e387af
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.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/provider/AttachmentProvider.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/provider/AttachmentProvider.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/provider/AttachmentProvider.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/provider/AttachmentProvider.java
|
8586532f3ecb4dad4f25d82ad7d6ce345ced9bf1 |
|
08-Feb-2011 |
Todd Kennedy <toddke@google.com> |
Fix attachment mime type unit tests Attachments with no extension and mime type of text/plain need to return the mime type of "text/plain" instead of "application/octet-stream" bug 3428076 Change-Id: I00452c908ac0672879d42f4ed9ee574e376eac9f
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
34212cc7df317a058a3f9860fc0e7de508cb7120 |
|
25-Jan-2011 |
Todd Kennedy <toddke@google.com> |
Infer attachment's mime type if it's text/plain If the server reports an attachment's mime type as either text/plain or application/octet-stream, we will try to infer the real mime type using the attachment's extension. If one cannot be found, we either synthesize it (if original mime type is application-octet-stream), or, we use the server specified mime type (if the original is text/plain). bug 3379416 Change-Id: I331e767ed36e4e17756025cc816bdb7b5a8f0868
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
6833fd5ab6c1e23c0bf2005dec2950796a040781 |
|
21-Jan-2011 |
Makoto Onuki <omakoto@google.com> |
AttachmentProvider: Always return mime-types in lowercase Intent-filter's mime-type matching is case-sensitive. We should always use lowercase letters. Bug 3375709 Change-Id: Idd4abb41f94c816a5b9150aef5859dd75487a042
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
86753bc41c3957b3bba49846f6603ed29f13c84e |
|
11-Jan-2011 |
Andy Stadler <stadler@google.com> |
Update file type acceptance rules * Open up all types for view/save rules * Add anti-malware block list (based on extensions) * Clean up code that shows/hides view & save buttons * Redo handling of load/cancel 1sec timer * Unit test for new little utility * Allow larger items when on wifi Bug: 3338984 Bug: 3334950 Bug: 3338988 Bug: 3340835 Change-Id: I991135636d507f2660e2860720dbed21bd1a955b
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
1ca111c19c83d54ad23bd8615d9c648e09ec3366 |
|
01-Dec-2010 |
Andy Stadler <stadler@google.com> |
Add password expiration plumbing * Set aggregated expiration values with DPM * Fix min/max logic when aggregating, and fix unit test * Add expiration tests when checking if policies are active * Add expire-password to uses-policies set * Handle password refresh (clear notifications and sec. holds) * Handle password expiration (warning and/or wipe synced data) * Unit tests for provider-level methods * Refactor common security notification logic * Placeholder notification strings (need final) Bug: 3197935 Change-Id: Idf1975edd81dd7f55729156dc6b1002b7d09841f
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
e29189e3eeea9c629777b3deed6ea2be67caa737 |
|
30-Nov-2010 |
Andy Stadler <stadler@google.com> |
Cleanups to Controller & AttachmentProvider * New method in AttachmentProvider to delete all attachments for an account, and unit test it. * New method in Controller to delete all synced data for an account, and unit test it. * Fixed existing problem with Controller unit tests (needed cache clear) * Fixed existing problems in Controller (mContext vs. mProviderContext) Bug: 3197935 Change-Id: I79c6a03c21f18d37eeb8158cd1c2af0e0a6e9d2e
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
625451ed25747d2637bd45274b0ec1f7d1bbb93c |
|
22-Sep-2010 |
Andrew Stadler <stadler@android.com> |
Harden thumbnail creation * Catch some errors earlier; Log all errors. Bug: 2905324 Change-Id: Icdf4ec881f404787a0621e606d7e611d5e50aab1
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
6c36b4c613499655316d8c910e3c6bfb08a0d896 |
|
20-Aug-2010 |
Makoto Onuki <omakoto@google.com> |
Add shutdown() to providers. They're needed for unit tests. I was hoping this would solve some of the unit test issues, but it didn't look like so. But still they're nice to have. Change-Id: Ibf6ae78055560d27aac5934d567a17084de99d84
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
1ec89e6290df7853990517ebe869bdb212d7e337 |
|
12-Aug-2010 |
Marc Blank <mblank@google.com> |
Fix AttachmentProvider to work properly w/ EmailProvider * Apps trying to open attachments using AttachmentProvider were seeing SecurityExceptions due to the fact that internal calls from AttachmentProvider to EmailProvider didn't have their calling identity saved/restored. * Updated provider calls so that these calls use the Email process' identity. Bug: 2908737 Change-Id: Ifb71ad834530c6232728e1aad31439991f8ed379
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
1d0be30871745ef0e623d8bb5e2e433567541623 |
|
29-Jun-2010 |
Makoto Onuki <omakoto@google.com> |
Always use the mime-type "message/rfc822" for eml files. Bug 2795919 Change-Id: Ie20fccdad34d7d17d7444af25d3e57033a45de5a
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
80ebde2897dced46a0f24efb7c15a997b660a8fe |
|
01-May-2010 |
Andrew Stadler <stadler@android.com> |
Better handling for untyped attachments * IMAP/POP rely on sender to set mime type of attachments * Which doesn't always work, because senders don't always provide it * Remap using filename extensions, when needed * This is applied as late as possible - in the MessageView, and in the content provider getType(). No changes to how we write databases, and no change to existing attachment rows. Bug: 2356638 Change-Id: Ie69e3fd12f406aac803583f9d1299a8af4fba010
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
9ef6f645f57d869a600113f555389b5d5e368c21 |
|
17-Oct-2009 |
Mihai Preda <preda@google.com> |
Controller: modify the test for "attachment already loaded". Bug 2192510. update unit test.
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
71754d3f940fe82e251c274e3e56781e702cfd6f |
|
01-Oct-2009 |
Andrew Stadler <stadler@android.com> |
Delete attachments when necessary, don't leak disk space * Add AttachmentProvider.deleteAllMailboxAttachmentFiles * Call it when server deletes a mailbox * Confirmed (no change) all message deletes call deleteAllAttachmentFiles * Unit tests of course :) Bug # 2069004 Change-Id: I99731e6489fdca4cc9cebdff5fcf9c09d12b7b3a
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
4b41bae270ea4c49ec8403084db43ee9b37cdda4 |
|
20-Aug-2009 |
Andrew Stadler <stadler@android.com> |
Enable IMAP/POP sending and EAS resend * Finish IMAP/POP sections of Controller.sendMessage * Rewrite MessagingController.sendPendingMessagesSynchronous * Add deleteAllAttachmentFiles to AttachmentProvider, and unit test * Rework sendMessage callbacks and integrate into MessageList UI * Send pending from UI TODO: * Find other places from which to call deleteAllAttachmentFiles
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
3f1ac4da947f426775c9546f2e37206f58ce1a6e |
|
12-Aug-2009 |
Andrew Stadler <stadler@android.com> |
Add code to handle IMAP/POP attachments. IMAP messages up to about 25k will be downloaded properly. * Move Store->Provider message rewrite code to a separate utility. * Add code to descend a Store message and write provider attachments. * Unit test basic IMAP attachment handler TODO: * handle large IMAP messages. * unit test for POP * unit test for large IMAP messages
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
a98de7e55e91229c35352b496fad3fbb108a9609 |
|
28-Jul-2009 |
Andrew Stadler <stadler@android.com> |
Finish Attachment support for EAS accounts. * Change service API to allow caller to supply complete target path/file * Also allow caller to supply the final content_uri * In MessageView, use full integration with EAS service API and attachments content provider to enable: * Save: Only works on SD card * View: Works w/o SD card using content provider & intents * Thumbnail previews
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
3d25a519abf676f050b546d34401a277aea5de40 |
|
28-Jul-2009 |
Andrew Stadler <stadler@android.com> |
Convert AttachmentProvider to use new Provider db. * Rewrite internals to use EmailProvider instead of raw db access * Minor changes to APIs as necessary (and scattered changes to follow) * Convert unit tests and check them
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
301ac18bb7f211b473c4f6fa6ec9bb276bbc6c10 |
|
27-Jul-2009 |
Andrew Stadler <stadler@android.com> |
Create tests and improve docs on AttachmentProvider No change in functionality. Just getting a test infrastructure in place before rewriting to use new EmailProvider. Provides tests for: * get type (raw & thumb) * open file (raw) * open file (thumb) * query * resolveAttachmentIdToContentUri
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
94386cce2ae71c81981b7c6792332d719a1071cf |
|
17-Jun-2009 |
Mihai Preda <preda@google.com> |
am aeeefedb: Thumbnail cache file should be deleted when AttachmentProvider is created. Merge commit 'aeeefedb43c40e887850654ac88270755f5631c1' * commit 'aeeefedb43c40e887850654ac88270755f5631c1': Thumbnail cache file should be deleted when AttachmentProvider is created.
|
aeeefedb43c40e887850654ac88270755f5631c1 |
|
16-Jun-2009 |
Mihai Preda <preda@google.com> |
Thumbnail cache file should be deleted when AttachmentProvider is created. Integrates CL 149651 from p4 Docomo email. Bug 1902523.
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
a290f503f14432163f74548a5e5d1dc5003ad049 |
|
15-Jun-2009 |
Marc Blank <mblank@google.com> |
Refactored EmailStore, EmailContent, EmailProvider EmailStore goes away, replaced by EmailContent All database activity is moved to EmailProvider
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
c0033f24a26a08c47aa38d957f42cf63cfa3c345 |
|
09-Jun-2009 |
Andrew Stadler <stadler@android.com> |
Convert remainder of app to use provider-based accounts What works: * Unit tests, except for com.android.email.activity.setup.* * Editing existing accounts * Create new accounts * Checking account settings against server * Mail sync using accounts * Viewing mailboxes What breaks (in approx order of planned fixes) * Unit tests in com.android.email.activity.setup.* * Viewing messages * Composing messages * Some details of account editing * Import of existing accounts
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
7436601fae756e8bc1f916560a1c2d1f8ce576fc |
|
03-Jun-2009 |
Mihai Preda <nobody@android.com> |
AI 149523: Correctly display inline images in Reply and Forward messages. Integrates CL 148436, 148515, 148833 from imode email. BUG=1814789,1860250 Automated import of CL 149523
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
5182d80674a1ef90586f52355a21a82e8265c10a |
|
01-Jun-2009 |
Mihai Preda <nobody@android.com> |
AI 149442: Integrate CL#140625 (Fix attachment uri and content uri confusion) from imode to donut. BUG=1598754,1860250 Automated import of CL 149442
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
96c5af40d639d629267794f4f0338a267ff94ce5 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
8c2158a5ebb88e226c23b66ff95910158a2727df |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
687f9962d7095e18ef994cd0e64337f02ed1a5bd |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|
8978aac1977408b05e386ae846c30920c7faa0a6 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/packages/apps/Email/src/com/android/email/provider/AttachmentProvider.java
|