2f288864b621cfb5aee44eda27df463460d33dd3 |
|
08-May-2014 |
Tony Mantler <nicoya@google.com> |
Fetch email bodies using ContentResolver#openInputStream This brings us further along the path to storing email bodies outside of the database. Change-Id: I96296114ade0d561df724878ed92999306bcd176
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
d3154ecc6ea87e37abc8d9d09e28883184ede446 |
|
29-Apr-2014 |
Tony Mantler <nicoya@google.com> |
Warnings and finals Change-Id: Idc31b2f3376db73b90558fb22bdcdf4ff6f92b7d
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
cb30243fe1fa3a2f7540495cbeea470e77b539be |
|
10-Oct-2013 |
Martin Hibdon <mhibdon@google.com> |
Disable sync settings controls for drafts folders b/11158759 Make the default sync setting for drafts folders 0 (never automatically sync), and disable the settings control so that it cannot be changed. Also add a db upgrade step to set any existing drafts folders to not sync, and clean up any Exchange synced draft messages. Change-Id: I256bde231d722089ef2a623482f570a20eccf1de
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
56aba8d8436b083bfc1169dd8b988161d537f7e5 |
|
09-Oct-2013 |
Martin Hibdon <mhibdon@google.com> |
Allow multiple mailboxes to be synced in a single request b/11103878 Change-Id: Ic6abf51457fe94e89fe51b461da4371f50e0fe86
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
19675e8bd7e0a43ba3e253a6f618e080067abd2a |
|
08-Oct-2013 |
Yu Ping Hu <yph@google.com> |
Add a mailbox type filter for syncing. Bug: 11081520 Change-Id: I76bcc0db08d2def3418849b9536b2e7ac1769f34
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
6700000ad14145637a482679d5c1436885ac0a16 |
|
05-Oct-2013 |
Martin Hibdon <mhibdon@google.com> |
On initial sync, do inbox first b/11081520 This improves perceived performance, the inbox messages will come in before contacts and calendar Change-Id: Icd9630d9cd2fb79a54d0ed2c11702a1a3091ed7e
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
cae08a64fb154b091f43595b9a5ab08474bd67fb |
|
05-Oct-2013 |
Yu Ping Hu <yph@google.com> |
Fix my query. Again. :( Change-Id: I2453bd3daa00f16cecdec8da93b21b98ae8d5e7b
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
29984af2b2cf8114c860d89765125a05316fd736 |
|
04-Oct-2013 |
Yu Ping Hu <yph@google.com> |
Fix a sql statement. Change-Id: I32cb6f5e52173059b08a83cbf65c9e4ac31302b4
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
3f24a9e2c76af8b772953c8a026d9886321f0044 |
|
04-Oct-2013 |
Yu Ping Hu <yph@google.com> |
Don't push things that haven't performed initial sync. Also remove the ping kick. Bug: 11081520 Change-Id: I21d5050886b2c352771013f4f3e5b9282482d508
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
921c04d2ac5df091fb3c5cfa823e6dc2fc6cdf5a |
|
02-Oct-2013 |
Martin Hibdon <mhibdon@google.com> |
Add some logging Change-Id: Ib26ffad0bb6841361b8ee7be4ee2a6255d509ae2
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
29d886ced72261a88d3c2c77c6edf06000c9c578 |
|
19-Sep-2013 |
Alon Albert <aalbert@google.com> |
Implement a resyncMailbox Method Deletes all messages in a mailbox, resets the sync key and requests a sync. Only supports Mail mailboxes for now. Change-Id: Iab8c051631f38687c02a22cb80ce4f50c2d9c6f1
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
e9849404652f317c4fb3af822fd6fa9cd23ad881 |
|
13-Sep-2013 |
Yu Ping Hu <yph@google.com> |
Fix MessageStateChange to include mailbox id. Also ignore messages without server ids for moves and state changes. Also cleanup to match needs of EAS upsync. Bug: 10678136 Change-Id: Id4d5229b8479e61bd718b707b0d2bc77a9e68046
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
e568f1bd379d211d5ed743d2c3edc734d2cdf691 |
|
21-Aug-2013 |
Paul Westbrook <pwestbro@google.com> |
Use resources for authority/package name This will better handle the case where the Email package name changes from the "orignal package name" Bug: 9763397 Change-Id: I8e01620551ce473e389e6a13963caaf685aea221
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
2bafe9d90497f48aaf4009d8428f30bbe97e89ba |
|
10-Aug-2013 |
Yu Ping Hu <yph@google.com> |
Add a utility function to map mailbox type to authority. Change-Id: I21731a5d9ba45850577fdda4d6bef8835d6d3249
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
d42e14ad722db6eb1a8e6b0696abb6d4a88fac4e |
|
07-Aug-2013 |
Martin Hibdon <mhibdon@google.com> |
Merge "Implement two part imap sync" into jb-ub-mail-ur10
|
c75f5880ab70d9f4938727587696b864bb4ea02a |
|
07-Aug-2013 |
Martin Hibdon <mhibdon@google.com> |
Implement two part imap sync b/10075523 Now, every 15 minutes we'll sync the last 24 hours. Every 4 hours we'll perform a full sync, which will take either the last 7 days, or until the oldest message we already have locally. Change-Id: Idc55a46a28af2a68cc324e414d51d88373941595
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
c3ceed68948ef6720ae7b861955b4d341f331643 |
|
07-Aug-2013 |
Yu Ping Hu <yph@google.com> |
Fix ui notifications on folder list changes. uifolders and uiallfolders cursors now setNotificationUri on the appropriate uri. That uri is notified whenever: - A folder is inserted, deleted, or modified. - A message is inserted or modified (since this can affect message counts). This second one is still not quite right: there are some conditions where counts aren't updating correctly. While I was here, I renamed the notification uris to avoid collisions between different versions of the app. Bug: 9111855 Change-Id: Ia29bb6a65b4f673bf352fdf0e14270b3f1443ca8
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
2535e03ab25e2883367dd58953cf128d4d3e5dd6 |
|
06-Aug-2013 |
Yu Ping Hu <yph@google.com> |
Remove some unused functions. Change-Id: I1df1cf8af01c81c47b11a1f44be819f8c384cf85
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
6602918f964bfec0c19fa975a2ff7f2ab68503ad |
|
02-Aug-2013 |
Yu Ping Hu <yph@google.com> |
Add checks for whether a mailbox is syncable. These will be used in Exchange and eventually in IMAP. Change-Id: If04c78556a1e52f1daa18bc3be0dc3def3c48957
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
eb4ee8a7aa540e77c57af1635ede7f89124f1259 |
|
02-Aug-2013 |
Yu Ping Hu <yph@google.com> |
Move required system folder types to Mailbox. I'm formalizing the concept of folders that must exist, and the list of such folders should be accessible to all sync adapters. Change-Id: I9e4d2d51aa495d211eab2d1e36c3fa197a1ac00d
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
25031796061b1d87cf2f38cdb34110c2291fbd47 |
|
18-Jul-2013 |
Martin Hibdon <mhibdon@google.com> |
Update IMAP sync method Now it syncs using a date range query. Change-Id: Ia520fbbe39521b1356acaf0fe764f9bdcc1aeb82
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
6e0f74de9304bfda7e31210142dec5813ce46f11 |
|
28-Jun-2013 |
Yu Ping Hu <yph@google.com> |
Add a constant for push-only sync requests. This will be used in Exchange, but the constant belongs here. Change-Id: I5be3bae75ccaa0562230252226375b25028dfb76
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
cdee4b0c11400d766ae826e6c01d234c2769554f |
|
27-Jun-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Use resource strings for system folders. Fixes b/9193813. Previously we returned a value from the database in all cases. This meant that system folders were not translated. Change-Id: Ife568651886bfb6de76221b8bc5d013dac8fa21a
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
a54ee609cdb79ad3abdda2d7180a29617fa38610 |
|
21-Jun-2013 |
Yu Ping Hu <yph@google.com> |
Convert Mailbox syncInterval column to boolean. We are no longer doing per-mailbox sync intervals; instead, mailboxes opt in to syncing, and the account sync interval controls what happens. Change-Id: I8ae32ea25079abbb63bb6a6a282bf5c06de73fca
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
6f2beeb59ae75ee26c78d99ded532acd87e1ff97 |
|
20-Jun-2013 |
Yu Ping Hu <yph@google.com> |
Add "account only" periodic sync for push accounts. EAS push only gets changes to the contents of collections, but not for changes to accounts or folder structure. This adds a new sync type to fetch only accounts, and adds a periodic sync of this type for push accounts. Change-Id: I1e9337252dbb5e53db3f7c5953e089de2c69d18c
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
e7ebb5de04e2419763459883f37f45ee0d27e4c7 |
|
20-Jun-2013 |
Yu Ping Hu <yph@google.com> |
Remove references to deprecated sync states. Change-Id: Ib22bac766fb0ac4d6e764ee92b56a8026baee852
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
aa0ca16a27e4a56a029e5cdebf96de5723bd84b6 |
|
18-Jun-2013 |
Yu Ping Hu <yph@google.com> |
Remove references to account mailbox. Exchange implementation no longer uses them. Change-Id: I221a914f2428c0c7989f79392ca82f7a8f4b1c52
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.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/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
9e7f5a2a33a31ff392d3116f6432b2f93ffe8e71 |
|
25-Apr-2013 |
Yu Ping Hu <yph@google.com> |
Use system SyncManager for Exchange. Change-Id: I77e4e75c94c532d22a28cf97e6f55f1259b8bdde
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
503cc0630d54de430a97f6013c6c7b7e851e343d |
|
19-Apr-2013 |
Yu Ping Hu <yph@google.com> |
Stop using ContentCache and related caches. Bug: 8655671 Change-Id: I349ce464b5d752b3ac687852dbce4f0b57e04c67
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
17d5bbf768c27ac7782b155e2ab25bcd480f5dcf |
|
05-Apr-2013 |
Yu Ping Hu <yph@google.com> |
Improve mailbox sync and load more. - Update syncTime for IMAP and POP whenever we sync. - Change load more to simply include the delta in the RPC rather than using the visibleLimit column. - Add a query to get the message count for a Mailbox. - Refactor code for updating totalCount and determining the new message count when syncing. - Remove dead code from Mailbox. - Remove uses of visibleLimit from code. Note that visibleLimit and messageCount in Mailbox table are no longer useful and will be removed in a later change. Bug: 8579767 Bug: 8523146 Change-Id: Ieb67e3b6f1c82c3b21b972c5a1e557cd75dc21db
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
c065e72819fad62c083fd97e8d300a6b8e78a7ae |
|
05-Apr-2013 |
Yu Ping Hu <yph@google.com> |
Add virtual mailbox for all unread messages. Also restores the trash icon. I'm not using the "correct" icon -- it's the menu icon, not a folder icon -- but it looks correct. Also, the "unread messages" icon is likewise the menu icon for mark unread. Bug: 8527132 Bug: 8444885 Change-Id: I7d3bc286f80f130e6f08ff1340a013d81700406e
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
c5c9c1c69e206b7632848a2535363693263f7fc9 |
|
03-Apr-2013 |
Yu Ping Hu <yph@google.com> |
Restore functionality for uploading new messages. The code for syncing new messages from client to server somehow never got moved from Email1 to Email2. This change also includes minor cleanup on system mailbox flags. Bug: 8531552 Change-Id: I1f9396635ba14cb6e641d2bc1b506c6d702f6b2e
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
9ae81e2af07219bfad26c882516343e83c16d926 |
|
15-Mar-2013 |
Yu Ping Hu <yph@google.com> |
Move system folder string resources to emailcommon. This permits us to move shared code for looking up system folder names to emailcommon, which is also in this change. Also renames emailcommon2 to emailcommon. This is part of a multi-project submit with I4a071a07c3e33aaa4ea404eb66a8db1eabc9ef0e and I5746c0353783f9b29d52d6540472588c6542a6a2. Bug: 8383232 Change-Id: I6c6eec4f1bcf2abd54c1ed05da1add8d894ee403
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
8e2c4056caffb9695fa7fdf3a90c1c4f056adb97 |
|
14-Mar-2013 |
Yu Ping Hu <yph@google.com> |
Clean up dead code. Should be a no-op for functionality. Also includes a fix for saving a draft that's already been saved (used to create a new one). The following were unused: - accountIdAddToField - mailboxIdAddToField - uisendmail - uisavedraft - uiupdatedraft - uisenddraft Deleting those also allows us to remove the translation from the Bundle used by calls to the ContentValues used by update (since the update paths are now gone). Change-Id: I87f2875e3272177a128a8ff65541e51b1f2d05fc
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
b34608228f0b55e401415b67b8150ca9e00cee7d |
|
11-Dec-2012 |
Scott Kennedy <skennedy@google.com> |
Move notifications to UnifiedEmail This involves redoing the persistence model, to split general, account, and folder settings into separate SharedPreference stores. It also requires some preferences to be moved into UnifiedEmail. Depends on Ibe2e3f93ec164370535ffc5f5b2409544cc8d36d (UnifiedEmail) Change-Id: Ie6ec389b5b5d2e7ab1b299d0877811ae716526e2
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.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/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
f419287f22ae44f25e1ba1f757ec33c7941bbfa8 |
|
28-Jun-2012 |
Marc Blank <mblank@google.com> |
DO NOT MERGE: Move emailcommon2 sources to emailcommon Change-Id: I06df7e467cd2e0117df8b8db3ddc6ff9da13f1c7
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
03cd72805dab0379ed255d151f1c17cc60655fc3 |
|
25-Apr-2012 |
Marc Blank <mblank@google.com> |
Revert to old Email app * These are the last sources in the ICS-MR1 tree Change-Id: Ida4651bddd92a06a518d00f3e1f275ab3a80c8ae
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
e2166f75486da0a1b70b804ea34f11f600f11cfd |
|
11-Mar-2012 |
Marc Blank <mblank@google.com> |
Add totalCount to Mailbox; send to UIProvider Change-Id: If01868eb27a97540683f25148f32b8c41ae59c17
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
ebb79619e8ed3c9f0c051e7f323e3971bce7508d |
|
09-Mar-2012 |
Marc Blank <mblank@google.com> |
Move account delete logic to EmailProvider * This functionality had to move away from Controller Change-Id: I557918a325eab8c83a9728fa1ce33dde8b86158f
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
06a382f26fe80931359dba4872a2563e6a8e5732 |
|
08-Mar-2012 |
Marc Blank <mblank@google.com> |
Fix up delete to handle trash/drafts deletions * Also, while we're here, create default "last touched time" for drafts and sent so that they appear in the initial recent list Change-Id: Ie2fe20b34625b5616dac5581f9bbd015f52a82bc
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
bf5caf97c547c8fa4bbdc2b500e8d43ee6322fcf |
|
24-Feb-2012 |
Marc Blank <mblank@google.com> |
Notify by mailbox, rather than account * Update EmailProvider, removing two no-longer-used columns in Account and Mailbox Change-Id: Ie0f10eb0ca315d73e82be968f7760a51a239ba3f
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
1dc7772d4313bec45af4a4d7609bc36f6e3a247b |
|
22-Feb-2012 |
Marc Blank <mblank@google.com> |
Support syncStatus and lastSyncResult in EmailProvider * Also, trigger a sync on refreshUri Change-Id: Ia8dee593decfc2101873071ad64fcc3fd1fd5f23
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
1aba472486f4b90284765bbd720b4ff13917f720 |
|
20-Aug-2011 |
Marc Blank <mblank@google.com> |
Remove unneeded logging from EmailProvider Change-Id: I229c3044566b6067efb7a8a06c10f41dbea3ad5a
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
37a74697164b3e74fb10e0bf51bed7c064b275bc |
|
06-Aug-2011 |
Ben Komalo <benkomalo@google.com> |
Hide sync options and search icon when appropriate - hide sync options for mailboxes that aren't actually syncable - hide search icon for any mailboxes that don't have any server counterparts Bug: 5086134 Change-Id: I60d5e5d1225a946464c5ea273c7d4b9299f433e5
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
cb1d65c47825dc7a45c7954cd93669296b35305e |
|
26-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Fix mailbox finding and unit tests. We seemed to not properly fallback to querying the database if the cache did not contain a mailbox of a specific type. We may want to consider caching mailboxes related to PIM data, but for now this is a quick fix. Also fixes unit tests. Bug: 5019661 Change-Id: Idcac0a6f15aa7f174890ae586f478fbb8f6e05b7
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
81a153463bd9d2e4f71a0985a102548b16a88ec0 |
|
20-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Remove "Move" action on POP. Bug: 5010614 Change-Id: If0a94840e9dc104566ba39d2e3240883dab5bba0
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
e71a19a52313a0fb615700e52a336b65f3c305da |
|
15-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Build default mailboxes for POP3 Bug: 4580535 Change-Id: Ic800eed387d3e9e64e95cce691d13d98b4a48045
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
0b8e04c84def3a06ef45126b48efc485fa0a7628 |
|
29-Jun-2011 |
Marc Blank <mblank@google.com> |
More Store cleanup Change-Id: I8f542175b4468c7a320322a57bfdaf19a7320165
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
9a01353f14f718c5447d6a3dc25b413be0f175d9 |
|
23-Jun-2011 |
Marc Blank <mblank@google.com> |
New search implementation for IMAP in MessagingController * Add protocolSearchInfo column to Message table; this can be used to store information related to search results. For IMAP, we store the serverId of the mailbox that the message lives in on the server * Add upgrade code for this column * Change MessagingController to use the proper serverId for remote operations, depending on whether the Message is a search result or not * Fix some smaller issues with earlier code Change-Id: I0c7f1d89a4659b95701d02646c0e8426680e2f6a
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
d12f78d6bac81590f97fc190723865ffe65e5d69 |
|
22-Jun-2011 |
Marc Blank <mblank@google.com> |
Fix cursor-related errors: 1) Have CachedCursor implement CrossProcessCursor; still need to figure out how this ever worked 2) Close cursor used internally in findMailboxOfType Bug: 4869024 Change-Id: Id20d37b7b83e133aa4d5fe9293a42ae217024f01
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
6e418aa41a17136be0dddb816d843428a0a1e722 |
|
19-Jun-2011 |
Marc Blank <mblank@google.com> |
Improve EmailContent caching... * Guarantee that up to 16 Account (with HostAuths), and Policy rows are always cached. Also, 6 commonly used Mailboxes per Account (Inbox, Outbox, Drafts, Sent, Trash, and Search) * Precache these rows when EmailProvider starts up * Ensure that newly added, precachable rows are cached when created * Clean up some inefficient/wrong caching code * Fix a commonly called method in NotificationManager in which we load a single Mailbox row using selection vs withAppendedId * Confirm that we don't read from the database in typical use and heavy message loading * Add a special URI for finding mailbox by type (using the cache) * Add special-case code for EmailContent.count(Account.CONTENT_URI) which is used in a number of places (including on the UI thread) and whose value is easily determined * Add a special URI to get the default account id * Confirm that all unit tests work The goal here is to be able to load all Account, HostAuth, Policy, and Mailbox objects (by id) without worrying about disk access. There will still be a single disk read for uncommon Mailbox reads, but this should be considered acceptable. Change-Id: Ibc9aa7acc73185e360b0b6f3053b90a985e97210 TODO: Unit tests
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
ed1dc9ee72410e07de24bc4a072d066981611a48 |
|
17-Jun-2011 |
Marc Blank <mblank@google.com> |
Support "Load More" for IMAP search Change-Id: I47e5fd1fab421026ee52af72ba56338c69e9b467
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
627bc6ed57ee06cc588e64ff959bfd7870b659b6 |
|
13-Jun-2011 |
Marc Blank <mblank@google.com> |
First implementation of IMAP search * Broke up synchronizeMailboxGeneric into three pieces; it's still horrible, but this at least stops my eyes from bleeding * Remove unused method/tests from Folder interface Change-Id: Ib4d979536be657137cf70ca535cf429d707be41b
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
9dcb72e1ecca83178c3af07f105c2ec12526a52c |
|
03-Jun-2011 |
Todd Kennedy <toddke@google.com> |
Add "lastTouchedTime" column to the mailbox table The last touched time will track the last time a message within that mailbox was read. This will be used for the recent list. Change-Id: I97a5fda52fd09b416fc3278a11a87b807da05c9c
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
44f5cd67c97da6a5c7e63a73b4dca7057b83cdbb |
|
01-Jun-2011 |
Todd Kennedy <toddke@google.com> |
Remove widget views The new widget UX allows for a single display mode for the widget. This can be configured when the widget is added or at a later time during widget re-configuration. We don't have the configuration activity (yet). We first need to restructure the widget to take a single account / mailbox combination. Hooking up the configuration activity will occur in a future CL. Change-Id: I38a5796c44938a6abd0d2bb50ac77241cc86a497
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
b36ac017926f2557f4a476d0cefe49002d11233b |
|
17-May-2011 |
Makoto Onuki <omakoto@google.com> |
Changes for NO_XXX - Added Message.NO_MESSAGE - Renamed PSEUDO_ACCOUNT_ID_NONE to NO_ACCOUNT - Removed PARENT_KEY_NONE and use NO_MAILBOX instead - For starters, cleaned up the UI controllers to use them. Change-Id: I6cfd87ece2fced8e9f7c76d034c4d1dbf9e4db10
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
54c91f00d7f967690a80b992062e75c40182d088 |
|
17-May-2011 |
Makoto Onuki <omakoto@google.com> |
Use IllegalArgumentException, not InvalidParameterException Because IllegalArgumentException is the standard one. Change-Id: Ib4d0bfa88a3d4218148a7cb248d9baa2124a72ba
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
e0bb7e79092a1066f4cf42ec364a81ebb31ac808 |
|
14-May-2011 |
Ben Komalo <benkomalo@google.com> |
Make Mailbox parcelable Also fix unit tests Change-Id: I5f64f53b278b7bc27053d831760b155532a14e33
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|
53ea83ebf91f820692e8fa8e781f5cc982dd94db |
|
14-May-2011 |
Ben Komalo <benkomalo@google.com> |
Move Mailbox to top level class. No other changes made. Change-Id: I3d8f3c521dc0d902be313b25252b4b6a4a96e7ee
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Mailbox.java
|