16027b7fabaf488f10fe90a41af4ece25cf1ef10 |
|
09-Jul-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Support for account switcher. Refactoring to better support new design. Also creates a preference for storing recent accounts. b/16159162 Change-Id: Ie2ac446f4031311d1c3470935af4c1599573db9b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/FolderWatcher.java
|
4c14ec6b03449a7d7e4ca0f91ee9fa3491cef29d |
|
10-Sep-2013 |
Tony Mantler <nicoya@google.com> |
Rename mInbox to mInboxMap because it's a map, not an inbox. Change-Id: I6ecc14b0c66ae48c2aceb48bfc63ab89a5cc896f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/FolderWatcher.java
|
cd686c1cd99379c6d3ab66ccbfd7f6ae4e4eb67b |
|
17-Jul-2013 |
Scott Kennedy <skennedy@google.com> |
Lazily load the FolderUri's comparison Uri Change-Id: I2fe3611850d1375501a5ee379b789ab937f89382
/packages/apps/UnifiedEmail/src/com/android/mail/providers/FolderWatcher.java
|
259df5b9e11908c8ef7c91483924891dd96b3c27 |
|
11-Jul-2013 |
Scott Kennedy <skennedy@google.com> |
Add a new FolderUri This will allow us to add query parameters such that Uris will still appear to be equal, regardless of differences in the parameters. Bug: 9780067 Change-Id: Iafe39763b3ee448cf02536df89caa736500dfdaf
/packages/apps/UnifiedEmail/src/com/android/mail/providers/FolderWatcher.java
|
0848874dababf76873290985168e9bf3d51d9c5d |
|
01-Jun-2013 |
Scott Kennedy <skennedy@google.com> |
Fix an ANR We were adding null entries to the list every time we processed a null entry, which caused our list to grow extremely large, and then iterating through the list would cause an ANR. Now we don't do this. Bug: 9199860 Change-Id: Iaf18c6eadbdb54dd0b977f696af8326c787c21a6
/packages/apps/UnifiedEmail/src/com/android/mail/providers/FolderWatcher.java
|
77ee0ceaefaa9be699a20bfbe162f4c0ef83c6e1 |
|
29-Apr-2013 |
Vikram Aggarwal <viki@google.com> |
Get inboxes from the folder watcher 0. Create a folder object in the watcher, off the UI thread. 1. Pass the folder watcher back to the controller 2. Get the inbox folder directly from the watcher. 3. If that fails, revert to the existing logic. Bug: 8743683 Latency when switching accounts/folders Change-Id: I36baaab675ff65b43ce5ab1ad3485259a700ce1f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/FolderWatcher.java
|
6bfae1c9b0623156265cb39d3c097a7cbeacb431 |
|
21-Apr-2013 |
Paul Westbrook <pwestbro@google.com> |
Fix NPE Bug: 8667870 Change-Id: I1fbdee8c2a3b48c86095d59968dbc6308bd713b2
/packages/apps/UnifiedEmail/src/com/android/mail/providers/FolderWatcher.java
|
2b1c821c993676af1e295a247fe2843ecd26ecf3 |
|
18-Apr-2013 |
Vikram Aggarwal <viki@google.com> |
Avoid ConcurrentModifications 1. Iterate on a copy of mUri because startWatching modifies mUri. 2. mUri -> mUris Bug: 8652085 ConcurrentModificationException in FolderWatcher.updateAccountList() Change-Id: Ic008b188026836bea0ad21b66f8f29eccf4780d3
/packages/apps/UnifiedEmail/src/com/android/mail/providers/FolderWatcher.java
|
de60c9d0ad164a5daf358181a05bbd43edd5d5ed |
|
10-Apr-2013 |
Vikram Aggarwal <viki@google.com> |
Stop creating so many loaders 1. Fix the check that caused duplicate loaders for the same account to be spun up. This fixes the runaway loader issue. 2. Clean up the interface to folder watcher. Instead of asking for URIs to watch, it accepts the entire array of accounts and starts/stops watching on URIs as necessary. 3. Add documentation, clean up code a bit. Bug: 8587151 FolderWatcher creates runaway Loaders Change-Id: I063f8c21869f44ae780128013449d6462c07a9c8
/packages/apps/UnifiedEmail/src/com/android/mail/providers/FolderWatcher.java
|
25b52c2554c416d193897335f5a32b776ad4b3dc |
|
13-Apr-2013 |
Paul Westbrook <pwestbro@google.com> |
DO NOT MERGE Fix NPE cherry-pick of https://googleplex-android-review.googlesource.com/#/c/296737/ Bug: 8605321 Change-Id: I38ca62c0420bd41c64fbaa2dbd5b919cfb6d9666
/packages/apps/UnifiedEmail/src/com/android/mail/providers/FolderWatcher.java
|
21115dcf79619a8fd63378ba89c5944b1256a7ab |
|
11-Apr-2013 |
Vikram Aggarwal <viki@google.com> |
Reduce refreshes to the drawer notifyDataSetChanged() a lot less aggressively. This reduces the number of times the drawer is updated on a single folder change (from around five) to two. Bug: 8558083 Gmail: Flickering after selecting any option from sliding panel Change-Id: Ie24ef81a904ad4921e240dc80c386d49af97ef8d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/FolderWatcher.java
|
b789b03fbedfb4fbaa0fb980725fbcd3e1d8d851 |
|
28-Mar-2013 |
Vikram Aggarwal <viki@google.com> |
Addressing comments from previous CL Changing the variable name to indicate purpose. Fixing indentation. No functional change. Change-Id: Ib9b0673a6ea1e62298336e0ef192cd162eeb1e47
/packages/apps/UnifiedEmail/src/com/android/mail/providers/FolderWatcher.java
|
d8fa038aa7235468ecdcf2cda4e4d70eb97ba520 |
|
19-Mar-2013 |
Vikram Aggarwal <viki@google.com> |
Only store unread count in FolderWatcher No consumer cares about full folder objects, so just store the unread counts. Avoid Folder object creation. Bug: 8424445 Folderwatcher is only interested in unread counts, just read those Change-Id: I139226319b1ce968d6bd49c69a25855e5f88f58f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/FolderWatcher.java
|
1dd77c96938f9a96724f9c0112e6e2f1897faf49 |
|
21-Aug-2012 |
Vikram Aggarwal <viki@google.com> |
The FolderWatcher invalidates the action bar Required to redraw the action bar when the unread count changes. Part 1 of 2 to fix b/7017544 Change-Id: Ica32df4a8184506da9e9a481b377919aa79c5e7d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/FolderWatcher.java
|
7a5d95a08464fb82b0310c82f3c39bfb8b63539f |
|
28-Jul-2012 |
Vikram Aggarwal <viki@google.com> |
Unread counts in ActionBar accounts. Fix b/6392082 Change-Id: I25b0c1ea0faf27519fca96fafc66644a2bb36be0
/packages/apps/UnifiedEmail/src/com/android/mail/providers/FolderWatcher.java
|