0932da35f5696f99cbba9abf8d98818576b784fb |
|
18-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Filter out inbox from recent mailboxes Bug: 5039553 Change-Id: I9b58e9331028250f9bc3027429d2a6ec418186d6
/packages/apps/Email/tests/src/com/android/email/activity/RecentMailboxManagerTest.java
|
d6ad9b8c0315e7718d1713cec1a81b5a82d768ac |
|
14-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Fixup recent mailboxes. The default recent list should be pre-populated and fall off the list as normal. The previous implementation showed a default list if there were no touched mailboxes, but then the default list disappeared as soon as there was one touched. Bug: 5020673 Change-Id: Ifad607a9d36feff837ab42d039ce9209f223f345
/packages/apps/Email/tests/src/com/android/email/activity/RecentMailboxManagerTest.java
|
cf7cd933dba6845b365c4bed28ae53580fefbef0 |
|
11-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Filter out Search mailbox from recents. Bug: 5015109 Change-Id: I4e4982bbedc388529eb2f3a9c06ecac47a0a85f0
/packages/apps/Email/tests/src/com/android/email/activity/RecentMailboxManagerTest.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/tests/src/com/android/email/activity/RecentMailboxManagerTest.java
|
ce4cce05b2ee5ea2d9629c189a79f7f30778f534 |
|
21-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Fix failing tests Fixed activity tests and and activity.setup tests. Bug 4762098 Bug 4766087 Bug 4590590 Change-Id: Ifbd49f38c59854c65b6c48a1b03ca8153bfa558b
/packages/apps/Email/tests/src/com/android/email/activity/RecentMailboxManagerTest.java
|
3a1e874a9cedf1a579c44d9342937777c8f21d18 |
|
06-Jun-2011 |
Todd Kennedy <toddke@google.com> |
Fix filtered query we need to return 5, post filtered, results. previously, we were returning 5, pre filtered, results. Also add a test to catch this condition. Change-Id: Id25f4bf79081c42a2012e0e51b36142120c83b20
/packages/apps/Email/tests/src/com/android/email/activity/RecentMailboxManagerTest.java
|
f04c832f23b14aa26bf584eb9a82f9bc06279524 |
|
04-Jun-2011 |
Todd Kennedy <toddke@google.com> |
Add ability to track mailbox recency Change-Id: I1bcc7928ea7065a5daa262b7cea7ee3e21981675
/packages/apps/Email/tests/src/com/android/email/activity/RecentMailboxManagerTest.java
|