dea198bb041754745c3b1522671fd31a79c7168c |
|
01-Nov-2011 |
Marc Blank <mblank@google.com> |
Add utility to determine if account can't auto-sync due to roaming * We need to call this out to the user (a surprised user is an unhappy user) * Required for fix to bug referenced below Bug: 5533550 Change-Id: I64a870a703de7e02ce882aefc3636a1668021eb8
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Account.java
|
ea4adf0c6bbed52fbe26e7a9be439cb5ff06b9dd |
|
02-Nov-2011 |
Mindy Pereira <mindyp@google.com> |
Revert "Add utility to determine if account can't auto-sync due to roaming" This reverts commit 95abeed64aaf8f597d99b654760ec2c0b5024dc0
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Account.java
|
95abeed64aaf8f597d99b654760ec2c0b5024dc0 |
|
01-Nov-2011 |
Marc Blank <mblank@google.com> |
Add utility to determine if account can't auto-sync due to roaming * We need to call this out to the user (a surprised user is an unhappy user) * Required for fix to bug referenced below Bug: 5533550 Change-Id: I7da337057b9b28300ddd485283920e12c1ae53da
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Account.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/Account.java
|
aca94265813e72e692eace527f43eb4c02b09c76 |
|
20-Jul-2011 |
Marc Blank <mblank@google.com> |
Remove NotificationService; use Account columns for data storage Bug: 5023662 Change-Id: I84df3b474dd6320327851003af985144cc16348e
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Account.java
|
4de538be2d17545fb63e781412b8565f0d0d97d4 |
|
13-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Prevent account flip flopping from compose There were two issues: - the default account ID from the provider wasn't consistent: it was using a snapshot from the cached data but that simply returns a Map, and the values aren't guaranteed to be sorted (and indeed I saw that the order was different on consecutive calls!) - hitting app up from Compose always just kicked you out to the inbox for the default account, but it probably should have used the account of the compose screen, since it can be specified in the Intent Bug: 5012008 Change-Id: Ic9a753b261e047790453bc1a9417bc0c6d2f87f9
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Account.java
|
025d29fd4b9dd8351fe2e0428a585cf327ddaca4 |
|
11-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Fix some missed account setup flags. There were two places where account flags were being set on setup: one was in manual setup when the user selected the account type (pop/imap/eas), and another was when it was automatically determined from XML. The two paths were inconsistent and one was setting bits like SUPPORTS_SEARCH but the other wasn't. This fixes being able to search in IMAP Bug: 5011932 Change-Id: I50eada7485aaef4e2a85d25fa7eb9ac7ab03093a
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Account.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/Account.java
|
e57a83d39a1414bd44eef7376f3a091264fce5d9 |
|
14-Jun-2011 |
Marc Blank <mblank@google.com> |
Add flags for server-side search support * Also, a convenience method to test the base flag * Follow-up CL will add these flags for Exchange Change-Id: I38dc1d19e89805989e674c17919db238b4913a1c
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Account.java
|
f5418f1f93b02e7fab9f15eb201800b65510998e |
|
14-Jun-2011 |
Marc Blank <mblank@google.com> |
Move Account into its own top-level class Change-Id: Ide7c991b7d4d418dbe17164421425bf898ba64ee
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Account.java
|