32bed4bb8e23d7322ab338773d135845f392d3cf |
|
24-Aug-2011 |
Ben Komalo <benkomalo@google.com> |
Fix unit tests. - make attachment download service injectable - fix assertions for account manager account checks - update message compose ID's so they're consistent on tablet/phone Bug: 5198343 Change-Id: I9976f5b9e5590dd61fb0a62937d3f9203fefe236
/packages/apps/Email/tests/src/com/android/email/activity/MessageComposeTests.java
|
0796b8aa61d6782a425e68cd77763ea1e701e592 |
|
15-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Don't save empty drafts. Note: all unicode sending unit tests are broken due to chip issues. I've filed a separate bug on that. Bug: 5012204 Change-Id: I17392f65e5bd8349780b79d9cbe10492d8e7a7d9
/packages/apps/Email/tests/src/com/android/email/activity/MessageComposeTests.java
|
f1d9367909005883021a4aa48197fcf73d1c0a64 |
|
22-Jun-2011 |
Jorge Lugo <jlugo@google.com> |
Merge "Fix behavior if replying to own sent message"
|
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/MessageComposeTests.java
|
67be1d5f6b413221ac8e261c7697865d9aa12892 |
|
21-Jun-2011 |
Jorge Lugo <jlugo@google.com> |
Fix behavior if replying to own sent message If the address of the account is in the reply-to: field (or from: field when reply-to: is empty), now populates the To: field with the same To: field on reply. Bug: 3504182 Change-Id: I17d7fe4be002b302decb8f0dae95f33d452b7adc
/packages/apps/Email/tests/src/com/android/email/activity/MessageComposeTests.java
|
f5418f1f93b02e7fab9f15eb201800b65510998e |
|
14-Jun-2011 |
Marc Blank <mblank@google.com> |
Move Account into its own top-level class Change-Id: Ide7c991b7d4d418dbe17164421425bf898ba64ee
/packages/apps/Email/tests/src/com/android/email/activity/MessageComposeTests.java
|
15842c522ec50584fcf04e1ffa47025bfef01715 |
|
03-Jun-2011 |
Jorge Lugo <jlugo@google.com> |
Fixed reply-all bug Upon hitting reply all, all email addresses except that of the source message sender go in the CC: field. Previously they all went in the TO: field. Updated 3 tests in MessageComposeTests.java (testReplyAllAddresses1(), testReplyAllAddresses2(), and testReplyAllAddresses3()) to reflect this new behavior. Bug: 4534058 Change-Id: I852daebdd8843a45f685eecc67f757c87925bb6c
/packages/apps/Email/tests/src/com/android/email/activity/MessageComposeTests.java
|
5b7e4349175918f3e407e50991de70bbbd5a618b |
|
03-May-2011 |
Ben Komalo <benkomalo@google.com> |
Support switching between reply/replyall/forward This introduces tab navigation on large screens with action bar (a dropdown for the phone view is yet to be implemented, though the internals are ready for it). This requires the side effect that restoring a draft reply/replyall/forward will attempt to also load the source message in full for additional information. If that load fails for whatever reason, the draft just remains a "compose" as it used to before. Bug: 3117253 Change-Id: I9cff5ed4a5e9abd1338b6dbde28ceb3e4dc2b761
/packages/apps/Email/tests/src/com/android/email/activity/MessageComposeTests.java
|
8d042850fb4257ca879f4d0c60e366b92a4c8422 |
|
06-May-2011 |
Ben Komalo <benkomalo@google.com> |
Re-work the way MessageCompose handles attachments Now attachments are actually stored in an explicit list, instead of being inferred from the state of the UI. This makes it possible to switch states and restore attachments, and test. Change-Id: I8c5f80f17f8c9e78d880ac4a1ac6ae22c2ec0579
/packages/apps/Email/tests/src/com/android/email/activity/MessageComposeTests.java
|
c6beaaea590564860b7a61c30c4091dbc66959d1 |
|
05-May-2011 |
Ben Komalo <benkomalo@google.com> |
Update MessageComposetests with latest refactors Change-Id: I7ab1275f4f4a803588619952f55fd81520036526
/packages/apps/Email/tests/src/com/android/email/activity/MessageComposeTests.java
|
0fb68c8f0c7fdfd2571291c7b1d3fefab23fa73e |
|
12-Apr-2011 |
Ben Komalo <benkomalo@google.com> |
Add signature when starting from external intents. Also update some of the tests. Bug: 3122070 Change-Id: Ia0e4620f54279dc53ca1c4484fec6508c411b418
/packages/apps/Email/tests/src/com/android/email/activity/MessageComposeTests.java
|
31d9acbf0623872f9d4a2b3210b5970854b654c7 |
|
12-Feb-2011 |
Marc Blank <mblank@google.com> |
Email split, part huit: Refactor constants, clean emailcommon * There are three pieces to this CL (sorry): 1) Move and/or rename some constants into emailcommon 2) Move Utility to emailcommon, moving the few UI related utilities back into Email (FolderProperties and UiUtilities) 3) Remove all references to resources from emailcommon * The three pieces relate in that, between them, they allow the emailcommon static library to compile cleanly Bug: 3442973 Change-Id: Ic5e3abaa2a1b36999e0b6653c6c2134ea1bd544f
/packages/apps/Email/tests/src/com/android/email/activity/MessageComposeTests.java
|
a7bc0319a75184ad706bb35c049af107ac3688e6 |
|
10-Feb-2011 |
Marc Blank <mblank@google.com> |
Email split, part six: EmailContent * Moved EmailContent to emailcommon Change-Id: Ib3db1bfcfe74554c0e5afd3cfce6d72f26e9aeb9
/packages/apps/Email/tests/src/com/android/email/activity/MessageComposeTests.java
|
2193962ca2b3157e79f731736afa2a0c972e778a |
|
10-Feb-2011 |
Marc Blank <mblank@google.com> |
Email split, part quatre: Move along, nothing to see here * No code was harmed, er, changed in the making of this CL * All that's happened is that code that is needed by both Email and Exchange have been moved into emailcommon * This required import changes to many files, which explains the length of the CL Change-Id: I4e12455ba057a4a8054fdbd0b578c73afa411c8a
/packages/apps/Email/tests/src/com/android/email/activity/MessageComposeTests.java
|
7c1fa2c16195098453b3f3bd9c44a1f7a058e356 |
|
01-Feb-2011 |
Makoto Onuki <omakoto@google.com> |
Unit test for change Ieec04881 (make sure CC is visible) Change-Id: Ic6ffbddf80dcbfe39e55d9b579316767a0ff1180
/packages/apps/Email/tests/src/com/android/email/activity/MessageComposeTests.java
|
2959a7e073c87e2fa5fab42ec543b352a91cf187 |
|
23-Dec-2010 |
Andy Stadler <stadler@google.com> |
Fix ANRs from Email.setServicesEnabled() * Create sync & async versions * Rename all callsites so sync is very apparent * Fix callsites appropriately * Clean up interaction between reconciler and setServicesEnabled Bug: 3133770 Bug: 3134677 Change-Id: Iefbc7814d9aa390baea6345e450e2a4768bf0a9a
/packages/apps/Email/tests/src/com/android/email/activity/MessageComposeTests.java
|
e9919377ee02958da4f2d2dde3b65c93505b4343 |
|
18-Oct-2010 |
Makoto Onuki <omakoto@google.com> |
Skip testCommaInserting if screen is off or locked. sendKey() doesn't work if the screen is off or locked. We could probably use a WakeLock and KeyguardLock to force the screen to be on, but that'd require adding unnecessary permissions to the email app. (not the test apk) Bug 1737038 Change-Id: Ic036dc4d12770e82bc5de1133d6dd34cd8465f30
/packages/apps/Email/tests/src/com/android/email/activity/MessageComposeTests.java
|
ec29471c7349a9e0b688b90b75e405f8da71540f |
|
05-Jul-2010 |
Marc Blank <mblank@google.com> |
Make sure signature is added to reply/forward * Add this to processSourceMessage in the reply/forward cases * Add unit tests for reply and forward case Bug: 2734321 Change-Id: I6be8383fe5f217a4bda8e669cb69f439bc8e96b6
/packages/apps/Email/tests/src/com/android/email/activity/MessageComposeTests.java
|