summaryrefslogtreecommitdiff
path: root/src/com/android/email/provider/EmailMessageCursor.java
Commit message (Collapse)AuthorAgeFilesLines
* Close body input streamsTony Mantler2014-07-081-2/+12
| | | | | | b/16153171 Change-Id: Iab1224957d1079969be51d2843df5250c8660b8a
* Sanitize HTML email bodies in Android EmailJames Lemieux2014-05-201-1/+3
| | | | | | | | | | | b/14567151 Sanitizes HTML email bodies on demand as they are requested from EmailMessageCursor. Also alters Account settings to indicate that emails can be assumed to be sanitized and transform scripts can be applied to the email bodies. Change-Id: I789e6de3569ae8c7d2c21f0b5aa590d7638a1467
* Move email bodies to filesTony Mantler2014-05-141-34/+24
| | | | Change-Id: Icfd0c4ab2ad25cc02b45cf41e7a205c17948ef2c
* Fetch email bodies using ContentResolver#openInputStreamTony Mantler2014-05-081-113/+8
| | | | | | | This brings us further along the path to storing email bodies outside of the database. Change-Id: I96296114ade0d561df724878ed92999306bcd176
* Create separate thread pool for EmailMessageCursorJames Lemieux2014-05-071-1/+31
| | | | | | | | This avoids a potential thread starvation issue if all running threads in the default parallel executor are stalled waiting to read from the threads created here. Change-Id: I32f030b3e7ff3d8f69453ae5946704efb19ee25f
* Fixed the id vs messageKey confusion in the code based on caller. AlsoAnthony Lee2014-04-221-8/+30
| | | | | | | make sure that we split the code that reads the HTML vs text body into seperate try-catch blocks because they can fail seperately. Change-Id: I55bdac469840e8ff84f7c00ccb34d188da072a8e
* Bypass the cursor completely when passing message within EmailContent contextsTony Mantler2014-04-161-5/+65
| | | | | | We should investigate using PFDs when passing to the UI layer too, for consistency Change-Id: I21ad1987926b93af20287ae8e49bfc7a4ad99570
* Bypass the cursor window for email bodiesTony Mantler2014-04-151-0/+115
b/11787468 Change-Id: Iba5faa5b825357144d07ec4dfcf010c6af50496d