10ea28ab588d8e922c0f78f0f47fe479739ec2cf |
|
27-Mar-2014 |
James Lemieux <jplemieux@google.com> |
Show "To:<Names>" in sent and outbox index views b/13304929 The solution being delivered introduces a new folder capability: UIProvider.FolderCapabilities.SHOW_RECIPIENTS which indicates a folder should display "To: " in front of its participants list because it is a folder containing outgoing mail or sent mail (thus viewing recipients is more useful than senders). This capability is returned for Drafts, Sent, and Outbox. Note that extra work was required to make this function properly in the widget we export to the launcher. See BaseWidgetProvider and friends for details. Change-Id: I2fa2394224ef3911992ab8d5cb67b05fdf5f3e85
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/SendersFormattingTests.java
|
3b59b333ad0693f74f9a8cfb24a468a8acbaca8c |
|
10-Jan-2014 |
James Lemieux <jplemieux@google.com> |
Mail in Sent, Drafts and Outbox should show addressees, not sender. b/10847599 This is the second attempt at fixing this bug. The strategy has changed entirely to accommodate GMail as well as reuse formatting rules that squish the list of conversation participants into an abbreviated line for display in conversation lists. ConversationInfo used to include a List<MessageInfo> which was used to answer questions about which senders had read which messages in the thread. This has been removed and replaced with a List<ParticipantInfo>. The backend should populate that list with appropriate conversation participants (e.g. recipients of the last message in the case of Sent, Drafts or Outbox; senders for all other mailbox types) Change-Id: I834223c55296bcd2509fdf544634c155594739b0
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/SendersFormattingTests.java
|
d5fd04656f364a209703a67debc33d91dabfb83f |
|
26-Jan-2013 |
Scott Kennedy <skennedy@google.com> |
Prevent the leaking of an IntentReceiver Only cache resources (and setup the related IntentReceiver) upon request, so we don't leak it if the first call to the method is from a Service. Bug: 8029270 Change-Id: I5a4d8825cbbc53c2b8c6cd68a4fe5cd3e5215d0c
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/SendersFormattingTests.java
|
69495b0a5551aaf4b70b6b29348946b730cfc3e8 |
|
08-Jan-2013 |
mindyp <mindyp@google.com> |
Reduce time it takes to render a conversation item Re-use an existing folderdisplayer instead of recreating one each time Remove unnecessary TextPaint call Don't do html to plain text on the ui thread; its done when processing senders Change-Id: Id1b4fa93b2b082fd9f69e473d6d3ee55bd852684
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/SendersFormattingTests.java
|
572494a70a05e6699670cac2296bc873cb068c2e |
|
08-Jan-2013 |
mindyp <mindyp@google.com> |
Fix build Change-Id: Icb48ff997326dafc786de42932978492c32edc5b
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/SendersFormattingTests.java
|
6d11c8fbca5d54a013d78c85d6eb28f590093e3c |
|
03-Jan-2013 |
mindyp <mindyp@google.com> |
Sender emails are now available. Use the senders email to lookup their contact photo. Creates the DividedImageCanvas, a light weight way of collecting and rendering sender images to a canvas than a standard android view. Also, allows us to get bitmap processing off the main thread in a future perf related cl TODO: perf pass; implement correct visual design for letter tiles once available Change-Id: I67b8f74f40703543609d1011098062c98e3e42cc
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/SendersFormattingTests.java
|
88acafa03a87f5c84b959697d13b81df8f11a96e |
|
21-Dec-2012 |
mindyp <mindyp@google.com> |
Make it possible to get the emails of senders we want to display photos for. Change-Id: I32bdf23f1fdb8b94d2f0abc4d4bb05d2e2d04648
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/SendersFormattingTests.java
|
d97402687c43df2ff9a0bee98a9312e34baea614 |
|
21-Dec-2012 |
mindyp <mindyp@google.com> |
fix build Change-Id: Icc3798d1eafc2f9ed6ed92d251a645b52907a94f
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/SendersFormattingTests.java
|
351ad4e87e0b0b98df9ca88266a8a63541dc5a81 |
|
07-Dec-2012 |
Andy Huang <ath@google.com> |
use parcel intermediate format for ConversationInfo Instead of passing ConversationInfo/MessageInfo around as Strings from provider->UI, use Cursor's blob functionality where the blob is the marshalled form of the parceled Info objects. This should be a acceptable use of Parcel, given that we are not persisting this form, and it only exists to facilitate provider/UI communication through the generic Cursor interface. Parcel blobs are fast, well-tested, and do not require input sanitization. Traceview testing reveals pretty good gains in Conversation construction (29% faster on Nexus 7), which is most of the work in getView(). Change-Id: I05451fba2201ca2f2c3ee76c80fb356c36e8ccad
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/SendersFormattingTests.java
|
12ec6a3dbd5593f600c6c2bb5eb7bdfc9ffb121a |
|
22-Nov-2012 |
Andy Huang <ath@google.com> |
am 74832489: Merge "sanitize user input in Conversation/MessageInfo" into jb-ub-mail * commit '74832489d1740ca381ad996d8e52b415cae46656': sanitize user input in Conversation/MessageInfo
|
71ac49c9c0fd792c0fb391e8a0d32b7428134d4c |
|
21-Nov-2012 |
mindyp <mindyp@google.com> |
Fix the failing test case. It was just written before I updated the senders strings to keep null spacers. Fixes b/7594143 SendersFormattingTests.testDupes failing Change-Id: Id7edbd86906b20ff53236d0d61c9e6306fa7c359
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/SendersFormattingTests.java
|
a88fbbaa07312640b9a337a3e06b7b5e0f60a521 |
|
21-Nov-2012 |
Andy Huang <ath@google.com> |
sanitize user input in Conversation/MessageInfo Certain strings in a sender's name or message snippet could cause ConversationInfo/MessageInfo objects to become malformed. Escape the critical '^' (caret) character to prevent any string input from appearing like a delimiter. Bug: 7593796 Change-Id: I70266410c738d366be6ec4d6b00413543a9e22db
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/SendersFormattingTests.java
|
fe173e9b30ed4ac7fc3dba66d718f2a27c61a61c |
|
05-Oct-2012 |
mindyp <mindyp@google.com> |
Fix build. Fix test cases associated with fix for b/7292288 gmail crashes on launch/loading msg Change-Id: Ieda187f8232751cfb89b1b94b0977417a7bf5916
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/SendersFormattingTests.java
|
b1cbb89f72631bb7e34822b98e8d0842ebd01b83 |
|
31-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Use priorities to decide who to elide. Not sure its perfect, but its LOTS better Test cases in a later CL Fixes the subject showing in sendres in widget Change-Id: I711ff6d8b1343aa01e5a38193a76467910425a9d
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/SendersFormattingTests.java
|
9c0a2b79d135f5affdd67f5cf052c5a66e9c8544 |
|
29-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Fix build. Change-Id: I245eff9ab9186e1452f7ac98fe932fc7cd3973f2
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/SendersFormattingTests.java
|
d8e5ff44a8a7405bb8891fb46570782138babbd1 |
|
27-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
De-dupe senders; show the second occurance of a sender. Change-Id: I78b558c0084e8d5edd6ba4b1bfd4ce6c3fff9a5a
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/SendersFormattingTests.java
|