History log of /packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
deee5bee475a678bc2a4efe81c2900b1e5ac54dc 30-Sep-2014 James Lemieux <jplemieux@google.com> Display sync errors using snackbar and not as a TL footer

b/16463253

The FAB compose button overlaps the action button found in the TL footer
when network errors occur during sync. To avoid this overlap, the snackbar
is used to display these errors and they no longer appear as a TL footer.

In order to signal the sync error to AAC for display in the snackbar, the
Folder.lastSyncResult needed to be encoded in the manner that AAC reads.
This was not happening for POP/IMAP/Exchange accounts, so a large portion
of this change is encoding that value properly every place it is written.

To ensure the value is read/written properly everywhere, common methods were
introduced in UIProvider that do this work. UIProviderTest was also added
to ensure the read/write methods agree with each other.

Finally, the display of the "Load More" TL footer was updated to match the
latest spec.

Change-Id: Ia44f4ca1caa77c5d76f58d75fa4ab308442d2a72
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
469817c69011b108f953ada64bf10eaf7dd31341 12-Sep-2014 Martin Hibdon <mhibdon@google.com> Display a warning if account is on security hold

b/17258435

Change-Id: If9f069bad54076459957a700a7a5328940cf2536
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
0e311c91b3a5340651bbdba56be76a4838a8f694 10-Sep-2014 Jin Cao <jinyan@google.com> Merge "Add toString for LastSyncResult" into ub-gmail-ur14-dev
ccf9a34bcdcfdb884799ea3f3ecbd425970f26fc 05-Sep-2014 James Lemieux <jplemieux@google.com> Add support for disabling email sanitization

b/16896849

HtmlSanitizer defines a public static final int VERSION that should be
bumped any time a change to the sanitizer's configuration is made.

ConversationViewPager now compares the current sanitizer version
against the target version number from MailPrefs to decide if the
sanitized output is "safe". The Html is displayed in a sandbox without
scripting if it isn't safe.

Change-Id: Ia265180893dbdd9ef209d3ee6ea87c7eb468e6b3
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
b10d7a552ef4b843b31feb9b781137a0381056b8 05-Sep-2014 Jin Cao <jinyan@google.com> Add toString for LastSyncResult

b/17380665

Change-Id: I7b7ccf6bedee4c6205226ae066071b8ea4d1c258
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
512821c11d89d49908f3cfdee0b582601f500f3d 31-May-2014 Jin Cao <jinyan@google.com> Support "deleting" in outbox

- Allow only failed items in Outbox to be swiped away/deleted.
- Same applies for multi-selection.
- "Deleting" in Outbox means remove the outbox label from the
failed message and applying the drafts label. This needs to
be implemented by both Gmail and Email providers.
- Added new ConversationOperation for this new action.

b/4080109

Change-Id: Ia9c8e386c7c65693f72fda85a49cb6a1b7d1fec1
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
e2c633c9286f7fd571f8a2f507d2c6d002cb8ae1 21-Jul-2014 Ray Chen <raychen@google.com> Add ACCOUNT_ID column to ACCOUNT_COLUMNS and populate it from content
provider.

b/16400882

Change-Id: Ie5f4602ca7ffb947d82ae0eafdefd0f68ff1af18
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
bc2370402e8ed6862da46c2bc9b39be3d934952f 17-Jul-2014 Tony Mantler <nicoya@google.com> Add support for folders showing only unseen message count

Also remove some unused folder capabilities

b/15966080

Change-Id: Id444beb9a46e41f59d719088b329477fb19f0475
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
9dc8a334c06a8b58daf6fe3033726edceccc74b4 16-Jul-2014 Milos Stankovic <miloss@google.com> Renaming the settings value to reflect the actual name.

Gmail changes are in ag/503888.

Change-Id: Id4b6a2506019ed36ec5d6f4957c2182ef2eacbd6
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
0e29e769c74e385342fc5dc8e9c85517771aaa34 11-Jul-2014 James Lemieux <jplemieux@google.com> Remove attachment previews from Conversation List

This includes:

- all references to the 3 attachment preview columns in the Gmail
conversation table (except for migration code in MailStoreInitializer)
- all layout and drawing code for attachment previews in conversation list
- all assets related to attachment previews
- all preference and analytics code that aided attachment previews

NOTE: This does not alter, in any way, the display of attachments in
conversation view.

Change-Id: I0aa5a32c8cce0ba98758827b973b323896932c39
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
a469bd23ae957d2907181f7ad67c14c07d8e8aa7 09-Jul-2014 Tony Mantler <nicoya@google.com> Add support for tinting folder icons

b/15966080

Change-Id: I3f5a9b7b060aa65e85fbee27f5f99fc7942092a1
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
8b85a9b88244bd910d63a7a0f594f3792b157aa0 26-Jun-2014 Tony Mantler <nicoya@google.com> Skip the Combined Account when creating prefs headers

b/9566150

Change-Id: I3f40864c3530caa1ef920a09880110953475b451
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
e01cc8d461dd0cc3dae8b2f03235c32a0b7f865c 20-Jun-2014 Tony Mantler <nicoya@google.com> Make MailPreferenceActivity construct a useful set of headers

b/9566150

Change-Id: I26ecdb31e9fa30fa3c9b92359fbe907efbb340d4
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
ede2e52e725abc625ae963f979639ff8ecc40cf5 30-May-2014 Greg Bullock <gregbullock@google.com> Changes to support displaying a welcome tour.

Change-Id: Ice10fd8d629a9f4aebe5cfb7cb94bc1eb5ebaaeb
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
ef0f19e1ebf77efac19640becaac544d6be1e89e 12-Jun-2014 Alan Lau <alanlau@google.com> am 54867378: Merge "Return the order key in the conversation cursor." into ub-gmail-ur13-dev

* commit '54867378b9707edd5e5c514aeee241c7fbfa2898':
Return the order key in the conversation cursor.
c92dc65f64e8b09ee78ba2fa799d7d3627373913 12-Jun-2014 Alan Lau <alanlau@google.com> Return the order key in the conversation cursor.

For Email the order key is the message timestamp, Gmail sortMessageId. The
order key is then used as the sort key for notificatin api, and because it is
stable, notification bridger can avoid bridging duplicate notifications and
reodering the email card bundle on the watch.

Bug 15563260

Change-Id: Ibc5aadf9fa2b52e0adb005af12bc451544e71d8f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
fb8893b9e37d8d549200cdae7fa7ba6ed59db4dc 10-Jun-2014 Tony Mantler <nicoya@google.com> Remove obsolete message text size preference

Change-Id: I3a197855f4d34a4f5ba454ab9ce8c3b55c42de10
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
6a2df258316b267151296556dbbdba20200ecb1f 30-May-2014 Jin Cao <jinyan@google.com> Provider support for different sending states for messages

Add support at the provider layer to differentiate among different
sending states (not sending, sending, retrying, failed).

b/9805976

Change-Id: Icb47412ad6f961f36adb6223a6289b0c4dcd7a2c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
1a864cce6321f46031d6cd43e205278d0f219f92 21-May-2014 Jin Cao <jinyan@google.com> Support for blowing up cache on subsequent search

Add support to get fresh results every single time search is called
even when the query is exactly the same.

The current behavior is that it destroys the old data once the query
changes. This normally works fine because when we switch labels the
query will be different while scrolling down in the same label ensures
that we don't lose the old data. However, for ACTION_SEARCH, the
underlying provider have no way of knowing whether the action is a
fresh search or simply the user loading more messages. Adding the
additional query parameter used by search will allow us to
differentiate between the two cases and properly destroy the old data.

b/11031046

Change-Id: I7fa244af8c13a6a39d68c846fa4a0db605b9b74a
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
934b1f470a646a4ca64fc63eeb823d4c5c12698e 09-Apr-2014 James Lemieux <jplemieux@google.com> Inline images are not displayed for IMAP and POP emails

b/11998344

This solution covers these use cases:

1) Inline images in the Email app.
2) Inline images in .eml attachments in the Email and Gmail apps.

The solution here was to override shouldInterceptRequest(...) in
the WebViewClients and resolve any cid urls that are encountered
within the email body.

EmailProvider and EmlAttachmentProvider both gained the ability to
query for an Attachment object using a message ID and cid (which
is stored in the database column: contentId).

With this new query in place, it was straightforward to fetch the
Attachment in the WebViewClient and then obtain an InputStream to
the file that backs the Attachment to return back to the WebView.

Change-Id: I7c0e33e62d6cdbd6a2a3fc81e8621755bdbaf704
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
20c2082e85e87dc9c70b3d74e20ed31d3eff7364 16-Apr-2014 Andrew Sapperstein <asapperstein@google.com> Send PLID with message instead of conversation.

Fixes b/13748439. Sending with conversation required
server-side changes and wasn't actually more memory efficient.
Arguably it would be less efficient.

Change-Id: I346d61387513e94a7387d7feaa68b3e6d2a7b2de
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
b5092b24945d0e170eb9db28249ee4a07864fa43 05-Apr-2014 Andrew Sapperstein <asapperstein@google.com> Merge "Refactor generation of view proxy intent." into ub-mail-master
65f252ae98f9fb9e19d559af39a33eb0bedd2aa6 03-Apr-2014 Andrew Sapperstein <asapperstein@google.com> Refactor generation of view proxy intent.

b/13476274

Makes the generation static so that other web view clients
can call it. Also changes from taking an Account object
to taking the account name (getEmailAddress()).

Change-Id: I5e9eabc9f936cb2603ceea0a2cfcbfe7e8a3c255
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
0653f9f2cf6424bbd274a2016b8d72d5431f2125 03-Apr-2014 James Lemieux <jplemieux@google.com> am 10ea28ab: Show "To:<Names>" in sent and outbox index views

* commit '10ea28ab588d8e922c0f78f0f47fe479739ec2cf':
Show "To:<Names>" in sent and outbox index views
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/src/com/android/mail/providers/UIProvider.java
4f347e811052f446c3958c76db278bcd7b39a44f 26-Feb-2014 Andy Huang <ath@google.com> allow an extra option on attachments (in bar and tile UI)

Bug: 7659807

Change-Id: I4c1294d2ba772a70139e0b37429b17bc6096cafd
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
f59d01c3116dc2adde97a5b52aa6094144c2d315 20-Feb-2014 Andrew Sapperstein <asapperstein@google.com> View entire message UI.

We need the per-message plid server support,
but we are forwarding the clipped bit to
the UI and showing a button based on that
bit. Clicking that bit will open the
plid viewer for gmail. Email should be
unaffected as it does not ever return clipped as true.

b/2887917.

Change-Id: Iddb54e37cf650ca16a75fcbe69f1861becdd81b9
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
55d0725ebe4d12c7d1d02f5ee13840c1f200503d 30-Jan-2014 James Lemieux <jplemieux@google.com> Keep on getting a couldn't sign-in notification

b/11551107

This is caused by ImapConnection.doLogin() only throwing
AuthenticationFailedExceptions and not other varieties of exceptions.

Our best guess based on the reported bug is that the IMAP server should
be returning "UNAVAILABLE" indicating the IMAP server is up and
responding but some resource it relies on (e.g. LDAP) is currently down.
We translate the "UNAVAILABLE" response code into a Server Error value
and display a message to the user and a Retry button.

While fixing this bug, I discovered that the ConversationListFooterView
that is displayed in response to a authentication failure contains a
button called "Sign In" that didn't actually do anything. I made it
navigate to the incoming account settings fragment where the user is
free to change the relevant account credentials.

Change-Id: I2c772ecab18f3e57059eceeae01de08f1fdab4c2
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
17646055214b9ab3abc2553379bf046ca3e53fb2 07-Mar-2014 Andrew Sapperstein <asapperstein@google.com> Show priority indicators (chevrons).

Fixes b/7961430. Creates a new account setting
called showChevronsEnabled that, if true, results
in the UI showing chevrons. Also properly distinguishes
showing chevrons from the show importance marker setting.

Change-Id: I767341457ed610309b5729887d121c6fb7c94eba
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
84a21cea704f6123721d7589f92963011701cb13 04-Jan-2014 Tony Mantler <nicoya@google.com> Typo: CONVERSATION_PROJECTION_QUERY_CURSOR_WINDOW_LIMT

Change-Id: I7f534a6745ab2b643c2150392b3010396bafa18b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
fc30e4052448678a24b2fb711f8b298c75ef73a1 21-Nov-2013 Tony Mantler <nicoya@google.com> Merge "Add unseen count to notification intent" into ub-mail-master
81d005677a97263f92928032d47cbc5ef5fbcb88 21-Nov-2013 Tony Mantler <nicoya@google.com> Add unseen count to notification intent

b/11789666

Change-Id: I4c3e940a562e700859d9af89d1240992e4e97556
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
817c9bbfd64452dc859505d72ed14c40c3dc0622 21-Nov-2013 Andy Huang <ath@google.com> am e6c9fb68: misc analytics

* commit 'e6c9fb6835247d98898e2af581ad9449ad7f3184':
misc analytics
e6c9fb6835247d98898e2af581ad9449ad7f3184 15-Nov-2013 Andy Huang <ath@google.com> misc analytics

* lots of new menu items
* log auto-advance setting
* log message header taps
* log photo-viewer menu items
* log conversation views (including enclosing label, synced state,
message count)
* log folder views (including bucketed total counts)
* log pager swipes (including folder type)

Bug: 11253673
Change-Id: Iffdcbf19b202fbb3b6b33e0f7f0e9e4c24fa948d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
70147a965b87d969f394af002c1a1e535394cad3 15-Oct-2013 Tony Mantler <nicoya@google.com> FolderColumns implements BaseColumns

Change-Id: I913b1bfe7abeb8a941bfc38c7a8d2061f8ba25e3
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
f323c046034b4658a80438575d8e9f01d92e57e6 30-Oct-2013 Alice Yang <alice@google.com> Use server prefs for show images setting

- Change setting from a checkbox to list pref (popup)
- Use synced preference "bx_eid" for whether to always show images setting,
in order for UnifiedEmail to read this pref, it's added to the account's
Setting field
- Dismissing the teaser now sets "bx_eidps" pref which gets synced to
the server (once server changes are in)

Bug 11158252

Change-Id: Ibd28690ccd95e0bdd399aaad9c9e205968a0ef39
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
42fe486e9e80a13d7f94573af1000f883a5d9dab 23-Oct-2013 Tony Mantler <nicoya@google.com> Restore sender snippet for nested folder teaser.

It's a bit ugly, but it's much better than firing up a new loader for each subfolder.

b/11288044

Change-Id: I509503e95ccbcfafbd89b755f2197d8a5f1ed1b8
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
bb036ff794f022bba2f501e155ef9c412e0e452e 18-Oct-2013 Tony Mantler <nicoya@google.com> Populate real name in From: field

b/11246653

Change-Id: I4c9ee826e0628bf04bffb98209c67318491b517e
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
3e16687b074895bc6cc63a1ed93abf7033586fd2 25-Sep-2013 Tony Mantler <nicoya@google.com> Separate the account name from the account manager's account name

b/10894178

Change-Id: I0dc80452bc5e01de0a5e2e69ab2b2189a3c88909
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
65801c0f3841ef88d3ab683f692e8fcc8d010719 24-Sep-2013 Tony Mantler <nicoya@google.com> Merge "Virtual folders are valid folders, don't kick back to the inbox when we're viewing them" into jb-ub-mail-ur10
ffc9c39a97ee3ea84e11e31a92eb4ef7cb619220 24-Sep-2013 Martin Hibdon <mhibdon@google.com> Merge "Improve display of attachments in pop" into jb-ub-mail-ur10
519c218db6109003ca72a35ffe276ed69b0230a4 21-Sep-2013 Martin Hibdon <mhibdon@google.com> Improve display of attachments in pop

b/10714298
Prior to this CL, attachments that had not yet
been downloaded for POP would appear as "text/plain",
regardless of what type they really were. Also, the
filename displayed about always be a non localized
string like "click here to download".
Now, attachments in this state are flagged as dummy
attachments, so when we display them, we display a
localized instruction for how to download, and hide
the mime type (because we don't yet know it.)
Also, when we download, we will not automatically
try to launch a viewer for these kinds of attachments.
We'll just download them, and replace the old dummy
attachment with a valid one.
There is still a bug that even though the dummy
attachment has been removed from the database, we
still display that tile until the user leaves and
reenters the screen. That's ugly but not so broken
as it was before.

Change-Id: I1021baae659ca2d9ee2909f78b414c271d8ca90b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
009f1b55b555638fd7276f8b996243a5d4ba7681 20-Sep-2013 Tony Mantler <nicoya@google.com> Virtual folders are valid folders, don't kick back to the inbox when we're viewing them

b/10847930

Change-Id: Idd55ede3c94b060402dd51486620154cd9ac9015
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
0e8dc84326ad3e6d146a203538665f98dd98f688 10-Sep-2013 Scott Kennedy <skennedy@google.com> Hierarchical folders in conversation list

Use something similar to the sectioned inbox teaser.

Allow expanding/collapsing when there are too many folders.

Bug: 9604590
Change-Id: I6cc79bd7c033bbf13c750e7720fe71227b38cc85
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
a158ac8a41239300a2f50b38ed17167aeef4ff4b 04-Sep-2013 Scott Kennedy <skennedy@google.com> Allow going back to search results

If you went from search results to conversation view, then hit the
back button, we were taking you out of search results to the inbox,
because we didn't know you had search results.

Now, we're tracking this (through the use of a folder type), so we
take you where you should go.

Bug: 10591438
Change-Id: I06c38c84f62016a6b3f52f44d78c3b451e4c6a29
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
f33d7d469f861f8ebbe108c4ef90ef3fb348f224 04-Sep-2013 Andrew Sapperstein <asapperstein@google.com> Delete CAN_HOLD_MAIL folder capability.

b/9623931. It was just unnecessary since all
folders have to be able to hold mail.

Change-Id: I8207553aeb378723f7c63cda0e51fc9314a52f30
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
25e677247ac17b899482c3011fe0599d886e3558 28-Aug-2013 Alice Yang <alice@google.com> Reduce conversation cursor row limit

Bug 10396820

Change-Id: I354e2cc1cef5d73a370361a52798384959e1e72f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
59e69095bd558a1e6ae890ce79b7b848331d0cc6 14-Aug-2013 Tony Mantler <nicoya@google.com> Reimplement QuickResponse support

b/8622751

Change-Id: Ia0a7f12b2a8dfe0c36d388d13c95745e46354b24
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
beaf1e4d14f89e7735ba94a0b2ff92233c6f928f 06-Aug-2013 Mark Wei <markwei@google.com> Add visibility type attributes to attachments.

Don't show attachment preview for inline attachments referenced in elided quoted
text.

The server is not yet reporting hidden and inline attributes. Once that info
gets filled in, this will start working properly.

Add Gservices flag to ignore the server's reported visiblity type if necessary.

Bug: 10081360
Change-Id: I3244ac16166f3a74dd5597c9d0b0ae20d66bf91c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
3ebf7f2190506fa6e4c8e0f05757edd616358e0b 12-Aug-2013 Alice Yang <alice@google.com> Merge "Sync disabled tip" into jb-ub-mail-ur10
c86b1fbcea43513ea903bb2ca14573423a72d7b5 12-Aug-2013 Alice Yang <alice@google.com> Sync disabled tip

The original design called for displaying different messages for when
global auto-sync is off and airplane mode, but we're considering scratching
those so I didn't cover them here.

To do still are subsequent toasts.

Bug 9825835

Change-Id: I1916e2d95896c2079fa6eeb9fe806fd4d181a27a
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
a7165dd86312f145ab2de8a2d765a769a53abea6 09-Aug-2013 Tony Mantler <nicoya@google.com> Javadoc warnings

Change-Id: Ifa356df54ffe29e0bf51206de7414fe22e6f366c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
9f32423b2e1f7ef6747eb1a27f3faa15f5a3db1c 08-Aug-2013 Tony Mantler <nicoya@google.com> Remove live/unused code from UIProvider contract class

Change-Id: Idc5a2c2e768b6777077329c7629ab26abb2dfcbb
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
aa76bdfae889b995395a7636742128b3585727f9 07-Aug-2013 Mark Wei <markwei@google.com> Add a setting for attachment previews.

Bug: 10131520
Change-Id: I861a3aa7a1131c1a089011aed7492a0e4ff1ebcc
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
b6f1998c9151ad236dd3c6c5d0be3280df3ae895 01-Aug-2013 Mark Wei <markwei@google.com> Fix nit 7. Remove preview list uri.

We no longer open photoviewer from the conversation list.

Bug: 10083052
Change-Id: Idccfefe792c1f01acd8842758362de626c7debb2
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
41c1694aa317b9e6bda0b9d0db2dae359c3d09a7 12-Jul-2013 Scott Kennedy <skennedy@google.com> Show up caret when entering section from teaser

We need to give the folder a parent so that the Up navigation works.

Bug: 9780067
Change-Id: I2e6d3d8ee683d3f7ede9fc353a8f5c02c6bfd715
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
479505d71969e26b0785d8e0e1b81108731cf827 21-Mar-2013 Mark Wei <markwei@google.com> Attachments in Conversation List: Backend changes so that the appropriate
attachments are passed to the UI. Implement PhotoManager so we can start showing
images.

Upon sync, we extract two image attachments from the first unread message, and
add them to the conversations table.

UI changes as well.

Load BEST if that is available, else load SIMPLE.
No vertical dividers in attachment previews.
Attachment previews are above labels.
Round badge appears for unread conversations when there are more images than
shown. Only appears after the previews have loaded.
Clicking on the attachment previews launches photoviewer.
Attempt to load bigger images than necessary to prevent reloading during mark
read/unread and rotate.
Show animated loading icon while previews are loading.
Previews load from top to bottom, from left to right.

Big performance improvements:
No longer decoding bitmap on UI thread. This kills most of the jank.
Only load when we are not scrolling. This kills a lot of jank.
Remaining jank will be delt with later:
DividedImageCanvas.setDimensions() creates a huge empty bitmap on the UI
thread, which causes a GC. ath will fix.

Multiple images in one line now load whatever's ready first. Added tracing.
Bitmap cache given more memory.
Following ath's advice, decode Bitmap from InputStream rather than byte[]. Don't
compress into BitmapHolder. Only use the bigger Bitmap cache.

Bug: 7481049
Change-Id: Icf823f56abc9345e6d0b800a1e6d45444d8fa028
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
a3bbac02817b12e7641ba67f95d60ecd7794b500 04-Jul-2013 Vikram Aggarwal <viki@google.com> Parent folder as a URI

1. Change folder to a URI
2. Fix references.

Bug: 9694857 Populate folder.parent correctly in the provider
Bug: 9694899 Clean up the hierarchy folder code

Change-Id: I4eff33d0259777e447cfe5769813db990f142077
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
e58a66c44c0b6acf3a2ba42acb0ceb98c206324a 27-Jun-2013 Andrew Sapperstein <asapperstein@google.com> Adding UNREAD folder type.

Needed for support in Email.

Change-Id: I9e26add44754b65919e01352303fe4607d026a21
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
7434e800d4313a227120ca36bd95683752a7879f 21-Jun-2013 Andrew Sapperstein <asapperstein@google.com> Attachments in eml files.

It's kinda slow for large eml files
(because we have to parse the entire
file) but it works. Hooray.

Fixes b/6393073.

Change-Id: I2d7a87a484cd282a000a0905fe069f3ab45e2061
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
dd2ec688cf18e0ec132d936168ccaa3c43cdefb1 04-Jun-2013 Scott Kennedy <skennedy@google.com> Move to Inbox

Show this option in places where "Move to" doesn't make sense, like
All Mail and search results.

Add a new Account setting field: Uri moveToInbox
This contains the Uri to use for the "move to inbox" action, which
may differ from defaultInbox.

Bug: 9256654
Change-Id: I91062d6a602ed785d42cc52ed66712f134730755
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
5bb0f80d9c7fe3d652b1b81960c58110a7ea660d 06-Jun-2013 Paul Westbrook <pwestbro@google.com> Specify the conversation query limit

Since the conversation query projection is specified in UIProvider,
we should also specify the number of items that will fit in a single
cursor window. As the conversation projections is pared down, this
limit can be adjusted

Bug: 9294348
Change-Id: Ibb0c0c8715f54d3ca0a7771ce722004ba7d1697f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
c9a4eddb24f8c26e7e11e5a487bbced29a5d0b35 25-May-2013 Andy Huang <ath@google.com> am f8b613c1: patch up respond() results with cache contents (the easy way)

* commit 'f8b613c1103952ae5cc1f8a5e6ae60aa62d73dec':
patch up respond() results with cache contents (the easy way)
f8b613c1103952ae5cc1f8a5e6ae60aa62d73dec 25-May-2013 Andy Huang <ath@google.com> patch up respond() results with cache contents (the easy way)

Bug: 9112331
Change-Id: I9688f272d82c760b118822dd5d4485c975b5090f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
b7abeadc21b37a0c43517546444118f799f76e7c 22-May-2013 Andy Huang <ath@google.com> am d521baf3: not all respond() calls require locking

* commit 'd521baf3a51c9fc1306bd55e027ce57d0a1d18aa':
not all respond() calls require locking
d521baf3a51c9fc1306bd55e027ce57d0a1d18aa 22-May-2013 Andy Huang <ath@google.com> not all respond() calls require locking

The UI thread uses respond() to signal user-visibility on each list
item, so we definitely don't want to block the UI thread on those kinds
of respond() calls. Add an options bitfield whose inaugural value is a
bit that hints that the cursor position must be safely moved prior to
respond().

This fixes some big hiccups that result when syncing + scrolling with
the respond CLs yesterday.

Bug: 9032162
Change-Id: I1c927453b9f474c89861a7295de1e318279e3a49
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
4b8af5084583813f5588e20ae681ec3653ca99be 21-May-2013 Andy Huang <ath@google.com> am fa225db4: update conversation command docs

* commit 'fa225db4767867509fd962ac671e054294d13702':
update conversation command docs
fa225db4767867509fd962ac671e054294d13702 21-May-2013 Andy Huang <ath@google.com> update conversation command docs

Updating docs to clarify that the UI will move the cursor's position
prior to respond(), since this is a non-standard convention.

Change-Id: Ia15befa34c5c2cb7d8666eaefa1888f275588315
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
4c4dc4b227588c792a45db7be709350cc5b78270 21-May-2013 Andy Huang <ath@google.com> am 7f39bbd3: use Cursor.respond() instead of blobs

* commit '7f39bbd358f7003a72ae2b480dfe38a84e830e5f':
use Cursor.respond() instead of blobs
7f39bbd358f7003a72ae2b480dfe38a84e830e5f 21-May-2013 Andy Huang <ath@google.com> use Cursor.respond() instead of blobs

Using Cursor.getBlob() to pass complex objects from provider to UI
requires us to serialize a perfectly usable Parcelable, then de-
serialize that byte array. Let's cut out the middle man by shoving the
Parcelables into a Bundle from Cursor.respond(). Since Gmail is single-
process, this is nearly free, but even in multi-process situations,
respond() should not be any more expensive than getBlob().

respond() must now be thread-safe in the wrapper, and it should trigger
a position move like getBlob() does. I found that the async task that
marks lists visible was sometimes running when the position is -1, so
start ignoring this. I think this is a red herring, as AbstractCursor
just doesn't like moving to -1.

On Galaxy Nexus, this cuts Conversation construction 30% from 2.11ms to
1.46ms. It also avoids creating 4 large objects per row, which should
make for less object churn and heap fragmentation.

Bug: 8642220
Bug: 9032162
Change-Id: Ic4cea27e8e84d85b160e6cf8fe0d3cc6a836249f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
a30015b0cae699e4670a2f6ab98bcd8ee6f6f805 16-May-2013 Paul Westbrook <pwestbro@google.com> am 6685f233: Merge "Use the explcit provider notification" into jb-ub-mail-ur9

* commit '6685f23309bf2901de6b5629ef0a4bb13c2c9c76':
Use the explcit provider notification
983a723931447b6261a2e42b25e6f931dba6de33 15-May-2013 Paul Westbrook <pwestbro@google.com> Use the explcit provider notification

Use the new provider notification to explictly tell the provider
that the user is viewing an item in the conversation cursor.

This prevents side effects from just iterating over the result set

Bug: 8961122

Change-Id: Ie1fd0daf2909e13d331f9fe609d0daedab607196
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
9d71cbc46d2eda5c870c372fca861b43a4482206 10-May-2013 Alice Yang <alice@google.com> am 33acbcca: Merge "Add gservices flag for disabling transforms" into jb-ub-mail-ur9

* commit '33acbcca5fe84649ed8522481900097016c3f5a6':
Add gservices flag for disabling transforms
3617b41394337774fb2e6fcf9fef1ac9eca00482 10-May-2013 Alice Yang <alice@google.com> Add gservices flag for disabling transforms

Bug 8876381

Change-Id: Id6f144bcb964307c6ab73a3555b9c7e019a2d6ea
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
710c3d2a9c58bc711f60a1b871cfdf599f1d3226 03-May-2013 Alice Yang <alice@google.com> am ce59ce92: Merge "Sender image setting" into jb-ub-mail-ur9

* commit 'ce59ce924d90287d9ed333bad3db9073fc050c30':
Sender image setting
4a53f5b1b05d99ea6e8c5338dcc0dac039a3e1cd 03-May-2013 Alice Yang <alice@google.com> Sender image setting

Convert sender image setting back to a checkbox (instead of list).
Use old preference value for show/hide checkbox to decide whether to
show sender image.

Bug 8772527

Change-Id: Iaa995098f1861283dc1d65e50138d69b77d0b736
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
869813c4c3abee1651742b7aa94c40b746ada9ae 28-Apr-2013 Paul Westbrook <pwestbro@google.com> am 31791769: Merge "Minor cleanup" into jb-ub-mail-ur9

* commit '31791769023b170774097e19379bcc493f9452e7':
Minor cleanup
b8911730b9d87179cc77ac8336f7002c5e056c26 28-Apr-2013 Paul Westbrook <pwestbro@google.com> Minor cleanup

Change-Id: I36e95c1fbc21b2630782a0ebec868dcf0383ce1e
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
c2b759ca901ac95fee795a6e50bc2eb18a6411b1 26-Apr-2013 Alice Yang <alice@google.com> am 0c436a1a: am 8d77f09a: Merge "Make sender image behave like checkboxes" into jb-mr2-dev

* commit '0c436a1a4d59c8f228b16fc946f5ca2b72fa949d':
Make sender image behave like checkboxes
432d2aa2c0a5695737ab41f062d6574ff69a83da 26-Apr-2013 Scott Kennedy <skennedy@google.com> am d3728048: Fix the build

* commit 'd3728048128f035c29090cf938c53bd4976eb562':
Fix the build
2c6b03e1bc71be66a64930710c0399c8f105a78d 26-Apr-2013 Scott Kennedy <skennedy@google.com> am e7e01631: Don\'t show inbox sections in "Change labels" dialog

* commit 'e7e0163126fa81af58ae6dbffc20adb610580fe2':
Don't show inbox sections in "Change labels" dialog
0c436a1a4d59c8f228b16fc946f5ca2b72fa949d 26-Apr-2013 Alice Yang <alice@google.com> am 8d77f09a: Merge "Make sender image behave like checkboxes" into jb-mr2-dev

* commit '8d77f09a37cfbe24eff2f1276b3a8ca0e7fcff45':
Make sender image behave like checkboxes
d3728048128f035c29090cf938c53bd4976eb562 26-Apr-2013 Scott Kennedy <skennedy@google.com> Fix the build

Change-Id: Id8d6759652e0bc9c691e62f0b74865478d1a1637
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
e7e0163126fa81af58ae6dbffc20adb610580fe2 26-Apr-2013 Scott Kennedy <skennedy@google.com> Don't show inbox sections in "Change labels" dialog

We can't support multiple adds/removes here yet.

Bug: 8722438
Change-Id: Ie527d210ace1b379f247ba331af43f712f3583d2
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
4758e980c21027ef1a9cacc9847170290b2ae42e 25-Apr-2013 Alice Yang <alice@google.com> Make sender image behave like checkboxes

- Tapping on sender image selects/deselects a conversation.
- Removed the "checkbox" option from settings, but didn't change wording
yet since settings text hasn't been finalized.

Bug 8713329

Change-Id: I11afe2b2ca3191f63ae5b82228fa209fdbd9295c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
3671f67fb06cacfbcbf42dae656ee767bd5d8a1d 24-Apr-2013 Alice Yang <alice@google.com> am fbda4116: am 716aadb5: Merge "Enable sender image for everyone" into jb-mr2-dev

* commit 'fbda411695c5e6d6f042cae021cadb61527374e3':
Enable sender image for everyone
fbda411695c5e6d6f042cae021cadb61527374e3 24-Apr-2013 Alice Yang <alice@google.com> am 716aadb5: Merge "Enable sender image for everyone" into jb-mr2-dev

* commit '716aadb5ca4a2f1f1b132c12b58a269a64c4d9d3':
Enable sender image for everyone
a929ed65f66ecc1b0a1fab995285623c2e519ce8 24-Apr-2013 Scott Kennedy <skennedy@google.com> am 8b4345f1: Merge "Fix a problem with tests (and likely other places)" into jb-ub-mail-ur9

* commit '8b4345f1a2f8fc815080b25d0da8d60f81bbfa7f':
Fix a problem with tests (and likely other places)
251d6c4300553eb076477590966110a2647b544f 24-Apr-2013 Scott Kennedy <skennedy@google.com> Fix a problem with tests (and likely other places)

Change-Id: Ibca3f19f9b72c179d9a10d40f1e45f379fae2f89
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
f5ffaee65c96bdb71d4a33393fd2b95c7cf951a6 24-Apr-2013 Alice Yang <alice@google.com> Enable sender image for everyone

This change will enable sender images in conversation list for everyone,
irrespective of what their previous settings were.

Bug: 8687894
Change-Id: Id8c8b15d488f46b77f0552b473a7ed85873a3a30
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
8dbbcf23757b70716409c994b86742f8b519f04f 19-Apr-2013 Paul Westbrook <pwestbro@google.com> am 80b881c8: Merge "Add Empty trash/spam option" into jb-ub-mail-ur9

* commit '80b881c8658c7b261aff14071a25e057eecaaabb':
Add Empty trash/spam option
7ee089ea2ef96e31504e88637b5f3b0969b3c7c1 25-Mar-2013 Scott Kennedy <skennedy@google.com> Add Empty trash/spam option

Bug: 4559378
Change-Id: I8dc5715a5f14f9fd6e8962ab665c4c25f3c64302
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
b96f5af78d5d3e5e817e763ed0ef77a1d4b6a3d7 15-Apr-2013 Scott Kennedy <skennedy@google.com> am 8048e88d: am 404f2995: Merge "Populate the account object with the type" into jb-mr2-dev

* commit '8048e88d2c1af6b2fba276b2d9d5eec85d31dd71':
Populate the account object with the type
61fe3fcae01b426becd1c42390491f5884427628 15-Apr-2013 Alice Yang <alice@google.com> am 0dd170fd: am 0e3882b1: Merge "Checkbox vs. sender image setting" into jb-mr2-dev

* commit '0dd170fdd9b37c5652150b827bfea182131fb58d':
Checkbox vs. sender image setting
e5883807fe365a4120a29d21c0e50ae12f30ae5a 14-Apr-2013 Scott Kennedy <skennedy@google.com> Populate the account object with the type

This is needed for prioritizing contact results

Bug: 8587925
Change-Id: I4b3b0f0d8561a134f9cc52cc3aae31d4a036bff9
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
642731419abb9037a729114d32d6ddd15af0a406 11-Apr-2013 Alice Yang <alice@google.com> Checkbox vs. sender image setting

Replace the current "Hide checkbox" setting with a tri-state setting with
choice of:
- Show checkboxes
- Show sender image
- Show neither

Bug: 8512959

Change-Id: I87f9cd373283fd600bdd23a7307d37c660f0805a
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
9f3b66a7188bf5ce69aff96d7231e270e212c41a 06-Apr-2013 Scott Kennedy <skennedy@google.com> am fa34c867: Merge "Cleanup" into jb-ub-mail-ur9

* commit 'fa34c8679c81e1b656a14ab0a00775a8dbb2c7cb':
Cleanup
ff8553f20964f4c31b0c503a9e1daff6ae08a9c7 06-Apr-2013 Scott Kennedy <skennedy@google.com> Cleanup

Change-Id: Iee8abf75639450d469632e43fe0e102b687558db
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
ac35040b4030c122198d8951a57ae021737ca7f1 04-Apr-2013 Paul Westbrook <pwestbro@google.com> Remove unused parameter

CL https://googleplex-android-review.googlesource.com/#/c/292725/
needs to be checked in first

Change-Id: I441171e3ad572045d74a6a744fefd1df5abe1f6d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
8c1058ee75ec4a5824a68c3c5275bc48d56bbad8 20-Mar-2013 Scott Kennedy <skennedy@google.com> Change FolderType to a bitmask

This allows one folder to have multiple types.

Bug: 8426563
Change-Id: Ide918a884cfb76022f3c03f5cc69adb149a964cc
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
a3d1e94ebc4d5a1bab1d9f6ac7de962f8eeebd1b 19-Mar-2013 Mark Wei <markwei@google.com> Merge "Fix bug where constructing message attachment uri with null/empty partId will remove the trailing backslash, causing the uri to not match the expected pattern." into jb-ub-mail-ur9
ccf6780d9c80070beca4ade6e4084c3fb719af51 15-Mar-2013 Andy Huang <ath@google.com> define a default value for the auto-fit setting

Fixes an issue where migrating the pref to default=ON didn't take effect
until you visited general preferences.

Change-Id: Ie86713da8da5aed0382c1bb7fc33247fccef8b23
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
7c8325de829ca029ce4547e4f0fa266124301367 28-Feb-2013 Scott Kennedy <skennedy@google.com> Teaser view for sectioned inbox

Still some changes required as the spec is updated, but it works.

Change-Id: I068488d057e42bc62af36e532d55ce17f695f49d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
a990a715012379451344246c5156d29938f12886 14-Mar-2013 Alice Yang <alice@google.com> Load ref message for edit draft.

When user replies to a message, save it as draft, open it again, and
toggle the "reply" vs. "reply all" drop down, we were not populating
the "to" and "cc" fields with the sender and recipients of the original
email because mRefMessage was not being populated and left as null.

The fix is to use an additional loader to query for the reference message
that the draft was replying to. Because the refMessageId is stored
in database as the server message id, and there's no existing URI for
querying message by server message id, added such a URI to UIProvider.

Bug 8295718

Change-Id: If6815bb272131a1ab1209ac9a595de9eb43aa2f4
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
720a2c494c066b4657ab852384fd66fbd11cd430 13-Mar-2013 Alice Yang <alice@google.com> Revert "Change "hide checkboxes" to "show checkboxes""

This reverts commit e7b31afacb4779e0af5a23413b96453979a852a4.

Bug 8370186

Change-Id: I52d0d0ee18e2e7bb4a845e86d0b5e3ba055c50ac
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
7df813e56ba3a8620e934bd462527a2467fcae52 12-Mar-2013 Mark Wei <markwei@google.com> Fix bug where constructing message attachment uri with null/empty partId will
remove the trailing backslash, causing the uri to not match the expected
pattern.

Added more logging so we can fix the underlying problem if it happens again.

Bug: 8070022
Change-Id: I783763519bf415a9d06710f6d11ae6f05a3ea7a8
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
73fba691b6c158f415d7d9b7ea12c472f060cb98 07-Mar-2013 Yu Ping Hu <yph@google.com> Merge "When updating footer, read count from extras." into jb-ub-mail-ur9
cbde5fa5dae7a730f916ab1ad5eda458d3dc8a34 05-Mar-2013 Yu Ping Hu <yph@google.com> When updating footer, read count from extras.

Previously was reading from the folder which is potentially
inconsistent. This change also requires changes in each app
to populate this value in the extras, and also to make sure
to update the conversation list when the folder changes.

BUG: 7480726
Change-Id: I4415aa5031980d9b350cbdd58e46ab903c18ef0e
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
61bd0e84a3b0545a722bbfe931233b47afdf52e2 11-Dec-2012 Scott Kennedy <skennedy@google.com> Preliminary sectioned inbox support

Add basic support for sectioned inbox. This does not include the
teaser view or other less important UI features.

Bug: 7685676
Change-Id: I2cba26dc4acc1021f5b8ab0ca81d4e0a65f744a8
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
ccf8194441de8c08a71e3f9c5619a6b21d8d8614 23-Feb-2013 Paul Westbrook <pwestbro@google.com> Remove deprecated field

Change-Id: I4f07197f808e069e90facce0e5343e7bfc080412
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
013a23c75cf8a71c51ad1580aa84f2a8e06b6761 22-Feb-2013 Paul Westbrook <pwestbro@google.com> Remove deprecated fields/members

Change-Id: Ica1c9dbc0f190a0565c548f6566837287b19d39c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
f39e8612ac8a503fc4088003b48de472b5f8b9fa 13-Feb-2013 Mark Wei <markwei@google.com> am f6fac0ae: Update comments on attachment states.

# Via Mark Wei
* commit 'f6fac0ae025efd7ad48675b2230a22cc7a8d6f74':
Update comments on attachment states.
e451dbc7d3b9c91ed6f9947dfb105dbb4d1be250 13-Feb-2013 Mark Wei <markwei@google.com> am 6ea12670: Merge "When REDOWNLOADING, do not delete the previous downloaded attachment file until the new file has been downloaded successfully." into jb-ub-mail-ur8

# Via Android (Google) Code Review (1) and Mark Wei (1)
* commit '6ea12670195ea17ffeaffcc031056ca0e859a2a3':
When REDOWNLOADING, do not delete the previous downloaded attachment file until the new file has been downloaded successfully.
f6fac0ae025efd7ad48675b2230a22cc7a8d6f74 12-Feb-2013 Mark Wei <markwei@google.com> Update comments on attachment states.

Change-Id: I595dd81b0c21797766c3d5616a0ed2c4263e258f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
dd5181928933d724327b614f4d172b20aa2f1d1c 11-Feb-2013 Vikram Aggarwal <viki@google.com> Merge "Created category for user-assignable folders (i.e. not starred/important)" into jb-ub-mail-ur9
5b49ce377b9375d6e5a57ea699d324e8cca15a81 09-Feb-2013 Mark Wei <markwei@google.com> When REDOWNLOADING, do not delete the previous downloaded attachment file until
the new file has been downloaded successfully.

If the redownload is cancelled, revert attachment state back to SAVED instead of
NOT_SAVED because the previous file still exists.

Fix unique sequence generator that was making filenames like test-1-1-1-1-1.mp4

Bug: 8124770
Change-Id: Ieca3392301216c938c9c86b0bc96db1a46a11107
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
dae287c6b4058a27b6a069e51829f72fec903a62 08-Feb-2013 Paul Westbrook <pwestbro@google.com> resolved conflicts for merge of 83e6b574 to jb-ub-mail-ur9

Change-Id: I949422329f8b9a1e19380b301b8fe4f529a46fe0
83e6b574cffd06164cad18ee388237a9427ceb3f 06-Feb-2013 Paul Westbrook <pwestbro@google.com> Enable screenshots in feedback reports

This will allow us to get more information about user's problems

Bug: 6102742

Change-Id: I49d04d884f2d2316fe642554a2f9747807508c61
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
6f95dd20bb46603889793ffba83fc2772dc0abc7 08-Feb-2013 Rohan Shah <shahrk@google.com> Created category for user-assignable folders (i.e. not starred/important)

UIProvider was missing a category that only allows for
certain labels to be viewed and assigned to by users
through some folder UI (Change label/Move To).

This change adds said constant into FolderCapabilities
related to when the user should be able to move a
conversation. Written as CAN_BE_USER_ASSIGNED.

Bug: 8157593

Change-Id: Id1143d70cde539528f065035e1a6e96797e4ae02
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
d5edd2d02649dffb40065fdb6a16acf91552b800 05-Dec-2012 Scott Kennedy <skennedy@google.com> Move notifications to UnifiedEmail

This involves redoing the persistence model, to split general,
account, and folder settings into separate SharedPreference stores.

It also requires some preferences to be moved into UnifiedEmail.

Depends on I71802444add85dc01f6645906a629ff80b964222 (UnifiedGmail)
Depends on Ie6ec389b5b5d2e7ab1b299d0877811ae716526e2 (Email)

Change-Id: Ibe2e3f93ec164370535ffc5f5b2409544cc8d36d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
809e2e44b462a489479938ef32343a9a4e456a96 30-Jan-2013 Mark Wei <markwei@google.com> am b337e311: Merge "Starts a pending download immediately when swiping to that image." into jb-ub-mail-ur8

# Via Android (Google) Code Review (1) and Mark Wei (1)
* commit 'b337e311209a9b1bd1020d8a8e21b586426ee910':
Starts a pending download immediately when swiping to that image.
7bed4bc31a49a2297a38eb9d7b595fba1fa1f849 23-Jan-2013 Mark Wei <markwei@google.com> Starts a pending download immediately when swiping to that image.

Add a new Attachment state, PAUSED, for when we've queued the attachment in the
DownloadManager, but it hasn't started yet.

Modified onViewActivated() so it would only get triggered once when you swipe to
that fragment.

Bug: 8023818
Change-Id: I8038b51d4750e333d9080e2277a745317a281e51
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
a33ca6c1eafdb7335c6d6a93c279190fa2f5e950 29-Jan-2013 Vikram Aggarwal <viki@google.com> am 59e574d0: Merge "Remove obsolete TODOs and obsolete code" into jb-ub-mail-ur8

# Via Android (Google) Code Review (1) and Vikram Aggarwal (1)
* commit '59e574d0d3e823fdda91db34b269a1dd1b86dcc3':
Remove obsolete TODOs and obsolete code
d31f0cf7dc06292527e23853b818aa9c9bc74ba6 19-Jan-2013 Vikram Aggarwal <viki@google.com> Remove obsolete TODOs and obsolete code

The extra constant was kept for compatibility. It has been renamed to
ACCOUNT_INITIALIZATION_REQUIRED

Remove TODOs that aren't valid anymore.

Change-Id: I9fa0ca638e1b2f6578895b77a7087362bda3ce2c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
7ed53776a053782ca37303075c144926647ac557 23-Jan-2013 Paul Westbrook <pwestbro@google.com> DO NOT MERGE Revert "Change "hide checkboxes" to "show checkboxes""

This reverts commit e7b31afacb4779e0af5a23413b96453979a852a4.
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
267453587f13986acc7de3d52de95184c38fb4e1 18-Jan-2013 Mark Wei <markwei@google.com> When clicking on a MessageAttachmentTile, the images download with varying
priority.

The clicked image should have highest priority, and images further to the left
and right should have consecutively less priority.

Bug: 8023818
Change-Id: I5531971f00db68e4b99bb210c757db53fc2a936c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
1aee17e324f204080baaabceb64f4edf73681542 14-Jan-2013 Mark Wei <markwei@google.com> Load image attachments from live conversations.

MessageAttachmentTile automatically downloads image attachment thumbnails when
missing.

PhotoViewFragment first loads thumbnail, then loads the full image. Shows and
hides the progressbar correctly.

Added ability for UiProvider to specify which rendition of an attachment to
download.

Bug: 7987412
Change-Id: Ief7f4c9a4a354d27045f6415a32211484a8527c6
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
6c3875a89770e2cb67fa3ddb64cd82524b3e67d4 16-Jan-2013 Vikram Aggarwal <viki@google.com> Underscores, not dashes.

Email's provider uses the names of the columns directly. SQL doesn't
like names with dashes in them. Should use underscores instead.

Change-Id: I6129119db0e80e5d772c8fa46a96193be65e300c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
d01d1f1869f135b1e31bdb08d6df80d7de5c7c8f 11-Jan-2013 Vikram Aggarwal <viki@google.com> Merge changes I2b7d387f,I424e9642 into jb-ub-mail-ur8

* changes:
Remove views from selected set.
Just use the default directly.
82d37501827cf9770ba4610dd6f81c7a3a14b2e1 11-Jan-2013 Vikram Aggarwal <viki@google.com> Just use the default directly.

Change-Id: I424e964299ebd4e00e7ef02e6a0e9ef819426e93
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
bbe74aee04f669990e888095b0d6858dc1e17ce1 19-Nov-2012 Mark Wei <markwei@google.com> Refactor Attachment code. Combined AttachmentStatusLoader.Result and
Gmail.Attachment into GmailAttachment.

Renamed UIAttachment to Attachment, which still follows the UIProvider contract.
GmailAttachment extends Attachment, and contains Gmail provider specific data.

The DownloadListener in AttachmentStatusLoader will modify the cached
GmailAttachments directly, where previously we would create new Results to give
to the ConversationState.

Cancelling an Attachment download will cancel both cache and external db
entries.

Attachment download dialog will close only if state is SAVED or FAILED. This
prevents a NOT_SAVED state update from closing the dialog prematurely.

Simplify AttachmentRequest. Simplify AttachmentStatusLoader to a listener.

Bug: 7538447
Bug: 7538152
Change-Id: If6362473697e6735f1858619c7af83238d75469e
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
69a6cdff8afde77ec9bcd75a5651ee212344019e 09-Jan-2013 Vikram Aggarwal <viki@google.com> Allow veiled address pattern to be updated through settings

Change-Id: Ibbd412308283fd2c0cae0abbec0a43be1db1b3ad
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
e7b31afacb4779e0af5a23413b96453979a852a4 21-Dec-2012 Scott Kennedy <skennedy@google.com> Change "hide checkboxes" to "show checkboxes"

Change-Id: I709484f7ea3c563942880a0af9cd0d08daf2496a
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
f1b8418ff91b0f55ed520902b6b65fd4f3525581 20-Dec-2012 Scott Kennedy <skennedy@google.com> Merge "Refresh the UI after destructive notification actions" into jb-ub-mail-ur8
53a615db980802911c8570a04e437b03500323c4 20-Dec-2012 Scott Banachowski <sbanacho@google.com> Send message when changing accounts.

Let the Gmail UI provider know which is the currently selected account.

Change-Id: Id471ad44c4e24a1fb2da5890060ced17b18494bd
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
1007e70b1abad47c84d19890809e2b3727419607 20-Dec-2012 Scott Kennedy <skennedy@google.com> Refresh the UI after destructive notification actions

This change just appends a query parameter to the URI so that the
Gmail provider knows to force a refresh.

Bug: 7895068
Change-Id: I1314bdc09c61ef8006a2cbea73002e53c5e3bf3b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
b2033d855ab0f13e253e5403ce25989bcbc49488 08-Dec-2012 Andy Huang <ath@google.com> Convert rawFolders from String to FolderList

Continuing in the Parcel > String vein, switch rawFolders to use
FolderList, a small immutable Parcelable class. Individual
Folder objects are still stringified when used alone, but those
are not time-sensitive cases (e.g. generating a view intent).

Traceview on Nexus 7 shows 61% speedup in serializing and
deserializing folder rawFolders. Overall time for Conversation
construction appears to go up, but that's because the previously
lazy-deserialization is now done in the constructor. I think
this is okay, since the only performance-sensitive codepath
that constructs Conversation objects is the conversation list,
which always needs rawFolders.

Bug: 7690709
Change-Id: I42eadd79aaeb260f3d9642bf930437a69e510282
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.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/src/com/android/mail/providers/UIProvider.java
cb0b30ee1d5cfcc267bc7de1e6ad78ed766c1e50 30-Nov-2012 mindyp <mindyp@google.com> Change the UiProvider contract to only send deltas when changing folders

Change-Id: Ic69807f0e8f6ddf06f9e34600089054fe868b9cd
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
bab9221e13f709bdfae58e17fc182e182948015e 17-Nov-2012 Andy Huang <ath@google.com> more column annotation

Generate the ordered ACCOUNTS_PROJECTION array from the key set
of a richer map that annotates each account column with its
expected type (typically one of Integer or String).

This is a tiny step towards more unit tests. In this case, I
want to synthesize an Account cursor and fill columns that I
don't care about with dummy values.

Change-Id: If1c82af8575b11fb160a509a99b3ff264408a719
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
5109c516b5cac279b4f99271953a27dd9a4828d8 05-Nov-2012 Paul Westbrook <pwestbro@google.com> Support for suppressing undo

The undo bar is not shown for some operations. Allow the
UI provider to not override an existing undo operation when the
undo bar is not being cleared

Bug 7477202 has been written up to add this parameter for other
operations

Bug: 7465798
Change-Id: I8acdb32a9fe857b91cb38923161fa1f6250ea8fd
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
0d0f8b061faae060529af4da339eed2d728ef1bd 13-Oct-2012 Scott Kennedy <skennedy@google.com> Prompt for auto-advance option on first action

If we're on a tablet, we will pop up a dialog that asks the user what
they want to do. When they select an option, we save it, and take
the original action, and auto-advance to their preference.

Bug: 7328118
Change-Id: I7b11bd0d17e6cc184b67c8c943531146fc964b49
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
a9a05d566650f31f09191eda0ba61af843bd4cd8 25-Oct-2012 Vikram Aggarwal <viki@google.com> Compare integers rather than strings

Change-Id: Iafd547890c916f9976b480ac834790ccfd4c69e0
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
3c7f94d02ff557c955c5d191cef45361a10be5c9 23-Oct-2012 Paul Westbrook <pwestbro@google.com> Open file descriptors for attachments

Open file descriptors for files being shared in the scope
of the Compose activity. This will allow the permission granted
to be retained for use when sending/caching the message

Bug: 7381557
Change-Id: I1619e6cc46bea88c0a1f537f15b1cc3ff5b83a6c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
72e2ea860f66f496537e37ebc0ddd2c670d4c651 23-Oct-2012 Paul Westbrook <pwestbro@google.com> Use ContentResolver#call() to send or save messages

The Unified code still has support for the old mechanism for
sending/saving. If the the call() method returns null, we will
fall back to the the deprecated methods

Bug: 7381557
Change-Id: I25cc83858f25b4d52c25d1fadd166127f4dd857e
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
47ca4e2a4c2d7387a7dd8d1925e2512acc553eab 18-Oct-2012 Mark Wei <markwei@google.com> Allow redownloading attachments.

Add Download again button to attachment overflow menu.

Bug: 7362656
Change-Id: I3bd61403205ec2c74f658f6f7f02385f72dd7aa5
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
fa255c019a8d4f6a74cc544a4dd2d8b74b1fc572 13-Oct-2012 Paul Westbrook <pwestbro@google.com> Add setting to control conversation view mode

Add conversation view mode setting to UIProvider

Bug: 7312540
Change-Id: I07095c9a6b22d3ef97d2848a067ba50d82970117
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
b8361c9f8938b74977316319885998aae09aab77 27-Sep-2012 Paul Westbrook <pwestbro@google.com> Move account cookie query into account object

Move account cookie quert into the account object. This will
prevent looking up the account cookie from blocking the conversation
list query

Bug: 7244921
Change-Id: I9761fe29bb05d9f29eb8cae640a749545362c770
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
dfa1dec0cfdc263c51e971dc3c41b90386a24340 27-Sep-2012 Paul Westbrook <pwestbro@google.com> Prevent spurious Waiting from being shown

Now the account can represent the state that it hasn't been initialized
when it can't give a definitive answer about whether a sync is required.

The Compose Activity and Widget selection activity still will show
the wait activity if the account is not fully initialized

But the Abstract activity controller will only show the wait fragment
when the account object has been initialized enough to give a definitive
answer about whether sync is needed

Bug: 7090741
Change-Id: I5e68f074418983b759f0e8a96fb08b65e81406e8
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
41b9e8f7bea47bbcae71b9ae81c3608a00a90e70 25-Sep-2012 Vikram Aggarwal <viki@google.com> Fewer toasts when there are connection issues.

1. We don't show the toast on synced labels.
2. We don't show a toast when background syncs fail.

Still TODO:
1. Showing a toast when the user hits the refresh icon
2. Showing a toast when we enter the app for the first time & no connection exists.

Bug: 7202801 "No connection." error

Change-Id: I312a5670aeedfc2f8e3dda11e662f2905027993f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
845f87e34179bcbb2862c09572576ab775be472d 25-Sep-2012 mindyp <mindyp@google.com> Use expected format when updating contacted sendres.

Fixes b/7219017 Contact suggestion ranking not working

Change-Id: I693586ab408eb0069df9051cadfcc47e07072339
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
a8492633481c1724d2f6d418594faf6e982d3dc9 24-Sep-2012 mindyp <mindyp@google.com> Remove the current folder when dragging to a new folder.

Drag/drop should remove the currently viewed folder as well as
add the target folder.
Add a type for "all_mail" so that we don't remove the all mail folder, since
that is a special provider type.
Fixes b/7216571 JB MR1 tablet: drag n drop does not remove the label where the msg was dragged out of

Change-Id: I80061f9ee4f58c9ff24b290662f46724c89e61f2
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
9982fdb413d09b8e391dbc96a114987b1b87bb62 31-Aug-2012 Mark Wei <markwei@google.com> Add supplementary account info to outbound google.com links

Bug: 6661601
Change-Id: I130d1d2481e4c4c693ac70bbb8ec107b4d8a61fb
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
57899081749fac79c25362cc591705f8bd1c1f58 05-Sep-2012 Marc Blank <mblank@google.com> Add setupIntentUri to account settings

Change-Id: I172a0703c0f6b58f6b559e5c5ac220f5c53b546b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
69b5c304f9572f18c0fcb456d81cccf2e560c72f 05-Sep-2012 Vikram Aggarwal <viki@google.com> Inform the cursor when a folder is first shown.

Fixes b/7100089 Need a way to know when a mailbox is entered

Change-Id: Ib60b8c2ac8e741f0d6fbaaa1656524371d6668f2
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
58cad2eea744d41a11c0124e91308e38108d242e 29-Aug-2012 Vikram Aggarwal <viki@google.com> Folder list fragment by sections.

Known issue: the recent folder *and* the user folder is highlighted
when selecting a recent folder. A change is being prepared to fix
this.

Fix b/7074104

Change-Id: I82733bc6be105c6270d17f3c1a281fd4ec15a48a
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
ef3625472596326b910a4445307d1a8eb8c9cc3f 27-Aug-2012 Paul Westbrook <pwestbro@google.com> Added ability to discard drafts

Now the UI can tell the UI provider to discard the drafts for a conversation
(if the provider supports this capability)

Bug: 6315721
Change-Id: If786d13448fdce9a45a54a8762ee1b15e3f29bcd
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
122f7c2cf45cd5f07462a7b0a553f82828a8b1a2 21-Aug-2012 Paul Westbrook <pwestbro@google.com> Handle Authentication falures

Add support for prompting the user for authentication

Bug: 6961624
Change-Id: I6d348a0e6a58ea8729d7f98857ccdfde8307306d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
17beb0b8aee78a39a2094a48ba7f55a602f701cb 20-Aug-2012 Paul Westbrook <pwestbro@google.com> Add suport for report problem

Bug: 6961632
Bug: 6946973
Change-Id: I88925b43008bff11f62f9c912422daf07ae884a9
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
6102c7d9e855597c9a8fd052832eb28618418e6e 19-Aug-2012 Paul Westbrook <pwestbro@google.com> Allow a folder to specify that it supports delete

Bug: 7006885
Change-Id: I2df4e63189586a1ba014915e96d15a8f4973d306
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
9ba4251297f1645af2490fcc2dc43f5063e12a29 14-Aug-2012 Mindy Pereira <mindyp@google.com> Make sure phone menus match spec.

Part of b/6497472 update menus in mail to match jb specs
specifically to match phone specs
Change-Id: I0c41f137107f69d2e241787ed500d63aa5da2de2
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
cebcc64fbd69618ff89f9fac0bfe9b9e7d7ce104 08-Aug-2012 Paul Westbrook <pwestbro@google.com> inline attachment handling

Allow the provider to specify the real base url that should
be used for relative urls.

Also allow the provider to specify a cookie that should be used.

Bug: 6951268

Change-Id: I6f5ecf69b262b6c877eecbd1944aa03c46c85382
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
f98bc898cbc7014a203c35a13427d3f949bce705 08-Aug-2012 Andy Huang <ath@google.com> add "isRemote" for live conversations

Change-Id: Ifaf4d661acf47a4f9856ed607a792bdbedc6246b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
41dca185f7683b36bdafd9520c0648c897a95834 07-Aug-2012 Paul Westbrook <pwestbro@google.com> Support for content provider inline attachments

Change-Id: I1c356487bb38f7feae6437de21c52e35fcaa53fa
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
47aa9c991b33c722a6ba1946fc02e0aba17bc1c9 01-Aug-2012 Andy Huang <ath@google.com> "new message from" in conversation view on update

* put the New Message bar in a new floaty layer in
ConversationContainer. snap header can also live here.
* add left/right margin support to ConversationContainer

Send/save of a new message also generates the 'new message'
notification for now.

Bug: 6384217
Change-Id: I10a40bbf87423194214e5ded08539abaaf7fd25c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
d49db8e3c4fff459f4ae3869ea80d083461eda2c 04-Aug-2012 Paul Westbrook <pwestbro@google.com> Fix preview for attachments

Bug: 6917483
Change-Id: Ie6f8c5b93c8f2046e71700435e69da6b241185b6
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
2c636308d67600a93a5eeb1d994ddc846a82e65b 03-Aug-2012 Paul Westbrook <pwestbro@google.com> Added a queued state to ConversationSendingState

Change-Id: Ib0cbf370387e9e8d54d5433ee0f530dbfe9751f0
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
7a3e657432d2ba01d6e04fbf8f9fd7b32eff591a 03-Aug-2012 Paul Westbrook <pwestbro@google.com> Change constant values

We need to change the contstant values for the cursor extras bundle

The old values conflicted with Gmail's, and we can't change Gmail's
values as Talk currently relies on those values

Change-Id: I564d799e900bfe944bc4bff96e1cac46db3eb772
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
573b9e698852c6cf2cbf0f93bc01b7abb8b64ce1 02-Aug-2012 Paul Westbrook <pwestbro@google.com> Fixes for live conversation cursors

Use correct status values
Also, make sure to hide the footer if it isn't needed anymore
Change-Id: I2be736c7f9d18a5fc68da21851218a4a3b02226d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
70a70c92bca006af84177d025c32deee3aa6da3f 02-Aug-2012 Mindy Pereira <mindyp@google.com> use conv cursor extras instead of folder status.:

fixes b/6917492 Use ConversationCursor for conversationlist status
Change-Id: I256e52459e80290e3d6ec6d3f8adf4de8a9a0c3d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
66bc2aaf76bb0dfa4fc38f8fcbaaf9e413e321dd 02-Aug-2012 Vikram Aggarwal <viki@google.com> Update when a conversation is viewed.

Change-Id: I1c424a89fef2dcbcb882e8741eda0d6470b68b87
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
707f24c693f116901660ce4b07598b474e681319 01-Aug-2012 Vikram Aggarwal <viki@google.com> Put Priority Arrows enabled/disabled in Settings

No user-visible change yet. The next step is to read the setting and
change the Conversation List and Conversation View to remove the
priority inbox arrows.

Change-Id: I44b644f1206f20f75891f7e0870fb3b72e56ab15
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
00ffece08e94ff5774b2a53c0adeb2f3d0815d66 27-Jul-2012 Mindy Pereira <mindyp@google.com> Remove folderlist

Theres is probably some more caching I can do with the getRawFolders() call
on conversation.
Next CL.
Change-Id: I171ba2ec08c2dd557efafe01d1e59b6c7f563971
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
1fbb0d73759c652482c11bfdc7246b64b57dda94 27-Jul-2012 Mindy Pereira <mindyp@google.com> Make sure we include the current folder, since raw folders intentionally excludes it.

Fixes b/6882709 Adding and then removing a label on a conversation in the inbox causes the conversation to be archived

Change-Id: Ia5f19653e1e8f9b479c0e1251ef82a80d0c980f9
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
1c605fec244bf7175b5a9115bde01b28fd6cfe74 26-Jul-2012 Mindy Pereira <mindyp@google.com> Set this to archive by default.

Change-Id: Iba9a10f81508bd7fa897700cb983cbef9a49df63
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
e58222b9421756e11eb24799c1785a090d0793ad 25-Jul-2012 Mindy Pereira <mindyp@google.com> Use the swipe settings.

Change-Id: I597b75b55a29046c783e972f4ddf30a3c275b38f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
71a8f5e5d2bb6b2a34460ef4c11db0311054334e 25-Jul-2012 Mindy Pereira <mindyp@google.com> Add swipe settings column.

Change-Id: I9b893ac203f62ca837284485ec4fc70fe5676f2d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
4880b5dea0335c887e6e6e5535365c3a313b96b7 24-Jul-2012 Paul Westbrook <pwestbro@google.com> Fix widget updating

Changes that happened by the user, from the UI, were not causing
the widget to get updated. This was because the UI provider contract
is to suppress notifications that where performed by the user
from within the app.

Now a client of the UI provider can specify that they want all
notifications

Bug: 6870004

Change-Id: Iae0e27fd8b4dca7cd690f3b898d3861b38d92f95
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
571de2212f311cc4a514ffa74e7585a2df1fb907 20-Jul-2012 Mindy Pereira <mindyp@google.com> Wire up mock provider testing.

UnifiedEmail doesn't have the correct permissions to access Gmail accounts,
so just load the mock accounts when building/ running the unifiedemail app
Also, create mock conversationinfo's to test out ui side changes to sender
formatting in the conversation list
Change-Id: Iddaad001df8dd40a859c44a080cfe76d5077fa3d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
648df3f0b0ebcd3c4adf907d70ff0938e5dfc78f 19-Jul-2012 Mindy Pereira <mindyp@google.com> JSON objects for conversation and messageinfo.

Used by UI to pre-update sender fields instead of waiting for a content
provider updatee

Step 1. Not checking in until all the CL's are ready to go.
Change-Id: Ib75e4f875fde7989e43fe15297030a4c7e7241b5
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
5e63e8aae365dc210a0647b7e1c87f76bf652c80 19-Jul-2012 Vikram Aggarwal <viki@google.com> Store default inbox name in Settings.

Show the default inbox name in the Action bar.

Change-Id: I08d31084944677ec219fbb8936eeaa5d8c4532c9
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
3cd4f40dab2c0810cb5ecd77256abf022863b2b5 17-Jul-2012 Mindy Pereira <mindyp@google.com> Allow providers to supply max attachment(s) size for new messages

Also, general cleanup around attachment exceptipons.
Moved showing the error toasts to the composeactivity.
Change-Id: Icd829146b60ed5656bed0d6d570fafbf5d0956fd
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
d5b369b324a22d28b63def902eefaf6591edf004 13-Jul-2012 Andrew Sapperstein <asapperstein@google.com> Added the via domain to the UI.

When the via domain exists and the message is
expanded, the message subtitle shows "via blah.com"
instead of the normal address. Additionally, if
the via domain exists and the message details is
expanded, a from row appears that shows the full
name, address, and via domain. This row only appears
if there is a via domain.

Change-Id: Ic39d7d90d72592e300fc6d6144e62e4b08db3b91
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
76b2062b8c6d18a7b3a05292c385b47b0fcbd09f 12-Jul-2012 Paul Westbrook <pwestbro@google.com> Support for report phishing

Bug: 4161858
Change-Id: I8b12cfde7e19e388ece83c4df3069f1f65445945
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
1284fd6e98a1e6757742c1fcc18ab0a1cc7aacdd 13-Jul-2012 Andy Huang <ath@google.com> only mark important conversations important

Bug: 6239637
Change-Id: Ib232282aeee7ea50031ecbefeda60c1c6641bce2
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
3b08c51ec46794b3c22c8649eb86bf77c72e0d9a 12-Jul-2012 Andrew Sapperstein <asapperstein@google.com> Spam warnings now show in the UI.

Based upon the specific attributes of the message,
various different UI options are set for the warning.

Change-Id: Ifc49ab122c453dde0464ae516c3cfa443d92c21d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
e623a0f6e3caa9cafec913cf826e946628833517 13-Jul-2012 Andy Huang <ath@google.com> more docs

Change-Id: I63dea9ac00c8a937d950e6f4fe3af140ffa9b8dd
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
77eee625cd8c317c605acfd06cd3a7e22120a0fd 10-Jul-2012 Paul Westbrook <pwestbro@google.com> Support for "unspam"

Also added start of phishing support
Change-Id: If8eb389c2dcc8c285a582504b8213ef676848a30
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
b378d64bab3c7517794ad7e2aee1d06c074e99ee 11-Jul-2012 Mindy Pereira <mindyp@google.com> Add manual sync capability to accounts.

Change-Id: Ic2b94ebe378a81d404ede3960ffb83524c9a7fed
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
31d7967c857d7486f27329135dffb3a2977b54e2 26-Jun-2012 Mindy Pereira <mindyp@google.com> Add a way to get ALL the folders for an account as a list, not just top level.

For displaying all when doing a move / add / remove folders dialog.

Change-Id: If8100b45e7e5f50a53e9e0594b742694b7bcf902
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
c1e8790e4a1a1ec9ae8cb33cf85df3753c944ff6 26-Jun-2012 Mindy Pereira <mindyp@google.com> Add hierarchicalDesc to folders.

The provider is going to store/ send this info per bug:
6739149 provider hierarchical names on provider side

Change-Id: I3fe349a8e8c8ad4548305572c51f85c92b5efe88
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
27d89ada3e8d1b17357a7064e1f47f3c15686412 12-Jun-2012 Vikram Aggarwal <viki@google.com> Request default recent folders.

Change-Id: I2aa6b695958fc20864d07c02be4251ef203c3fa6
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
531488ed848766708252a5fdc01c4ecf0fd167d1 30-May-2012 Vikram Aggarwal <viki@google.com> Remove all bad ideas from SelectedConversations

1. Remove references to AbstractActivityController and
ConversationCursor (yikes!) from the selected conversation set.
2. Create a new interface for delegating all changes to conversation
state.
3. Consolidate FolderChangesCommitListener with interface created above.

Change-Id: Id1d982a19eb2d26c51aec661cee5dc23ef98c110
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
a6b671dd9f5ba358a05888b3ab3bf1c5cb5cf493 25-May-2012 Marc Blank <mblank@google.com> Only move selected convos if from same account

* Add accountUri column to Conversation
* Also add IS_VIRTUAL capability to Folder (for combined folders)
* Check that all conversations to be moved/relabeled from a virtual
folder are from the same account

Bug: 6280990

Change-Id: Idfc5b3017b16a9f8c1ae5063ba22c66f89d8ca4f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
386243fd5fd2974133ba661ba43e47eb3d2bfcdf 25-May-2012 Marc Blank <mblank@google.com> Add folder capability for non-undoable deletes

* For trash folders in Email app (and elsewhere, if needed)

Bug: 6282899

Change-Id: I50ff4c4cf1e2d0ef56cffd22e43736e992b1e01e
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
b287833c2645e2502792821e54d7226cfad59955 18-May-2012 Marc Blank <mblank@google.com> Add color to Account class; support it in account spinner

Bug: 6281321
Change-Id: I86550ba6f7f4f695ee779dd772d18c1f422fe4be
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
92939fc7b40a56e17fb0d2fde987133ca1614e29 30-Apr-2012 Marc Blank <mblank@google.com> Support color block for combined views

Change-Id: I3097cb4c37311cbe4b2b8702c26a7edf5eebdd24
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
3842af9e8ba90ebf5b75dc5018bbfdfb2e044f99 27-Apr-2012 Marc Blank <mblank@google.com> Support viewing meeting invitations

* Added intent uri for event viewing

Bug: 5011918

Change-Id: Ie77dfce8c22ccef1d21f31461ade8edc3674085c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
9f119c72042e4d0382017d5ddcee9aa2113b6425 25-Apr-2012 Paul Westbrook <pwestbro@google.com> Fix problems clearing notifications

Bug: 6348210
Change-Id: Icfa2084935b79afc6d747a73c017ca40c2842c8d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
d370792663454356c8c7fc12bee9731f3e990183 24-Apr-2012 Marc Blank <mblank@google.com> Add flag to disable sending from account

Change-Id: I35071031456c994295a1a6ed70aaf48be0288898
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
922c3eb11830813cd8f739d2a2d4ac5833b56d84 24-Apr-2012 Marc Blank <mblank@google.com> Add CALENDAR_INVITE flag to Message

* Also, add column and constants that can be used to send an
invitation response to EmailProvider (for EAS use)

Change-Id: I091e8e8ae0a7095988ff232b6e727c87965d8c71
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
c7694221dfa5cec3f4ae290f2266b081b2639d80 23-Apr-2012 Vikram Aggarwal <viki@google.com> Destructive Actions. Part 2: More logic consolidated.

Get next and previous conversations through mTracker in preparation
for relying entirely on the AbstractActivityController's logic.

Change-Id: I0d477547356561316c1717d5ddbf4f467b7f3b3b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
ca85441f810fdcdd50d285ac5f0319078050c90d 21-Apr-2012 Andy Huang <ath@google.com> disable conversation cursor network access during iteration

ViewPager needs to iterate through the conversation cursor to
match up fragments and cursor rows. Prevent its iterating from
having side effects like unintended network access by signaling
to the underlying cursor that network access should be
temporarily turned off.

Support on the Gmail provider side will be added in an
accompanying CL.

Change-Id: I05231815de53423ff024fc85a59806ddbaa200a6
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
5c5fd571b40a15b95ea5a5d6033f377706ffd0fb 09-Apr-2012 Andy Huang <ath@google.com> compose attachment refactor

This is step 1 to modernize attachment handling in Compose.
This CL tries to have Compose view deal in Attachment objects
rather than the raw pieces like URI/name/size. For those cases
where the raw pieces are all we have (e.g. incoming intent),
AttachmentsView.generateAttachment() is now a single place for
this work.

When loading a saved draft or forwarding a message with
attachments, since those Messages already have fully populated
Attachment data available via getAttachments(), use that.

Mark various Gmail-style joinedString representation variables
and methods deprecated in favor of passing JSON in
ContentValues when necessary. The next step is to beef up the
supported fields in the attachment JSON and have send/save pass
JSON and have providers read JSON.

Bug: 6305925
Change-Id: Ie8fb9ce27d71a10a6ea8ae431b78e61ffe5933e2

Conflicts:

src/com/android/mail/compose/AttachmentsView.java
src/com/android/mail/compose/ComposeActivity.java
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
2d50bcdca57756ecad20d21da0d936243215b79c 10-Apr-2012 Paul Westbrook <pwestbro@google.com> Support for unintialized accounts

This is the initial CL for support for a "wait fragment"

A subsequent CL will make clicking on the buttons in the
Manual sync case work

Change-Id: I7f1ca27eb8792aaa94d354b2753d37783a72b309
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
04dc819886abc2e4f56e644b03449e29cdbae2d0 09-Apr-2012 Vikram Aggarwal <viki@google.com> Do not clear selection for non-destructive actions

Change-Id: Ie38119b1ceede61d810c354deba3348126d406f7
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
18babd2334a0c3dfdcb3519299e4dcbd781c8c2d 10-Apr-2012 Paul Westbrook <pwestbro@google.com> Add support for "manage folders"

Change-Id: Id05e10fcf0d3f1446160c85f0a103f62f2323c27
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
5892a78e9ceff33dca1b878aa42a27222ff4526f 10-Apr-2012 Paul Westbrook <pwestbro@google.com> Add a "not synced" state on account

Changed ComposeActivity to only show accounts that have been
initialized

Bug: 6270010
Change-Id: Ia85ee0a1fb3baeab8b7e87599347cfc4027e3a61
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
62de1b104635b09e7f00b0941268ba1fa5460ddb 06-Apr-2012 Mindy Pereira <mindyp@google.com> Correct from.

Change-Id: I5c4f10fbc1079c8a465fe864dd983c49f5a01139
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
b1f573c59ec20f9149443e1e0cc8b64ff3a07fea 06-Apr-2012 Paul Westbrook <pwestbro@google.com> Embed Settings into Account object

Change-Id: Ie9e5d32fbd3c0dd21a43e7c6106c32641b51d467
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
eee630749e7d57d409ac2e28a8381681b88bdee2 06-Apr-2012 Mindy Pereira <mindyp@google.com> Create setting for reply from default.

For custom from.

Change-Id: I1d25112dbad0a2b68f6d5c8e5e4127a277b19882
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
92551d057965689f1952faeb06763f0762bc717f 05-Apr-2012 Mindy Pereira <mindyp@google.com> Custom froms.

DO NOT WANT.
First revision. It works! And it sends mail...so that's good.
Change-Id: I9e77df792d57dfc09442b711710b387b5e1e6d10
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
a8352055eba7117f26d17137c3cc884faf216006 04-Apr-2012 Marc Blank <mblank@google.com> Add flag for folder settings support

Change-Id: I7d7ed14b5c7478f2bac67729bcb9e2d3eca61461
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
048b5c892e098d79335a5eb68fa3a1ec1b7b5a85 02-Apr-2012 Mindy Pereira <mindyp@google.com> Use "," as a recipients divider.

Change-Id: I441ddfae6a5d17b72da33377220accc47fd9b50d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
e550355f79eed5b133c80b88b332de50dcad8697 28-Mar-2012 Paul Westbrook <pwestbro@google.com> Support for "folder settings" from within conversation list view

Bug: 6219755
Change-Id: Ic881c46a8adb9714ae5c8d1d99fa8d0bb5340214
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
2388c5d208acd4e4e658aaacbbc5f080ee8e9f7c 25-Mar-2012 Paul Westbrook <pwestbro@google.com> Support for no account case

Change-Id: I43150580aed2ef8d100702c13190d84f3d8d339c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
5a9290731bf565538a9cf91892346c7a6f4da0ec 24-Mar-2012 Andy Huang <ath@google.com> Add bits of Attachment info to message cursor results

Ultimately, message view needs more information about how many
attachments a message has and what sort of files they are to
render UI upfront and allocate space in the HTML for them.

I'm adding a new field in Message cursors to contain this basic
attachment info as a JSON array. Soon we can expand the format
to be useful to compose, and can deprecate
'joinedAttachmentInfos'.

Change-Id: I9c264a6f09b376f5ee9b9f56e11fa80dc5faec56
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
5b84f41e055135a5733c28a5d234ef944d04498d 25-Mar-2012 Mindy Pereira <mindyp@google.com> Setup rules for when to display/ not display folder labels.

Allows us to pre-display label changes on the ui side.
Rules are as follows:
1) if the current folder and the folder added on the conv are the same,
don't show the folder in the converation item
2) if the current folder is a system folder and the folder added on the conv
is also a system folder and they are of the same type, don't display it
(covers priority inbox and inbox)

Change-Id: Icb7b7f0e8b31ac1ddfb858d5e5961132a064186b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
6778f4663a790d3e9d4c6a2f43292eef43c1e0bd 24-Mar-2012 Mindy Pereira <mindyp@google.com> Conversation unread + folder changes.

Marking a conversation unread should force the user to advance
to the next conversation as set in auto advance settings.
Make folder changes show up immediately in conversation list.

Conflicts:

src/com/android/mail/browse/SelectedConversationsActionMenu.java
src/com/android/mail/ui/FoldersSelectionDialog.java

Change-Id: Ib9c21931a3edd4b624ec5f2b853dc1988ec29d5b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
c97d8acdb45f9632129bd76b5b6f355f9cc57426 23-Mar-2012 Paul Westbrook <pwestbro@google.com> Add support for OpenableColumns

Bug: 6220007
Change-Id: I14298d788ac8e98b5512ddddc60a7ef6084efbab
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
87d535fe423d782c3a0343c649330d309976f655 23-Mar-2012 Mindy Pereira <mindyp@google.com> Add spam/ mute flags to conv.

Change-Id: Id5bf4606f394f707b02beafaca69eccb3f426375
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
26846d859a4714ff90ea02dba251a54cac1f1e9f 23-Mar-2012 Marc Blank <mblank@google.com> Rename conversationId to conversationUri in Message

* Make it a String type

Change-Id: Ic2a7b1f567157606ce15663fc63d34eec3ebbd45
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
517743ef4e3e4ac103a3c096b9e3c894da7ed87a 22-Mar-2012 Paul Westbrook <pwestbro@google.com> Add support for sending feedback

Change-Id: I3404b741b8441f9cad43e6306c148e46e0586e5f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
4b8e44b6c19e0dc73c92679136e3b9b7066b87bb 22-Mar-2012 Mindy Pereira <mindyp@google.com> Remove include quoted text.

Change-Id: Idc6b97a9d31d9d682daca066a8d7f5bfee572c72
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
d8e249ee7abb0e1ad24e17e4e299736d4a150936 22-Mar-2012 Andy Huang <ath@google.com> implement star/unstar on a message

Switch to separate read/starred flags to avoid committing stale
flag values.

Change-Id: Ib9f37ba3821f1e67675a803bce7739c64b8f628b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
5f2876a4638bbc7fed2d971c777c8e2bef1cdcf2 21-Mar-2012 Paul Westbrook <pwestbro@google.com> Set limits on widget query

Change-Id: I40a40ae3930e69f25a9d00efdf9ea83cd306dfcf
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
51144944c2088299ebc2584cc09c61c23eb18659 20-Mar-2012 Marc Blank <mblank@google.com> Add "limit" to first load of ConversationCursor

* For my large convo list, time for first query is down to about
300ms from average 9000ms
* TODO: Clean all this up...

Change-Id: Iaa17f5b8b5b773cb4c8133b4f22d7096b3a3aa54
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
4dbbf9f91da20d89b13d412038c0b19b91983f8c 20-Mar-2012 Mindy Pereira <mindyp@google.com> Add quoted text fields to message obj.

Change-Id: Ifc7d91768d3eb1ceed263209dd3e66927cb913c7
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
e8caf1279a1c6ae720215405f678172a5cbf68d7 20-Mar-2012 Mindy Pereira <mindyp@google.com> Add quoted text fields to message.

For sending messages with quoted text.

Change-Id: I30ef80322cd05523e627f01e2231ce316af91e27
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
b7050e62aab7133dea300d7fb3266311da99ec80 20-Mar-2012 Paul Westbrook <pwestbro@google.com> Specify local message id when expunging

Change-Id: I89299e2a4b4fada8019664530749375faefde2a8
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
6ead20dd9643e6435d6c1111f99c520870812ea8 19-Mar-2012 Paul Westbrook <pwestbro@google.com> Add suppression of notifications

This allows the UI to suppress notifications if the conversation
list is visible

Change-Id: I6b866e6f5bc972bcad258995462f400026b26c5d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
bc6ba05fea3057d5323f1939904a10cc391945fc 19-Mar-2012 Marc Blank <mblank@google.com> Update extras names for notifications along with javadoc

Change-Id: I6880bcad1343a4e47468fdfe249b773f58188de7
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
ee0fda7a88dd13cf51e1526eb029520672f318eb 19-Mar-2012 Paul Westbrook <pwestbro@google.com> Add action for generating/updating notifications

Change-Id: I1a848785544153a04a38e0b81909502c98e47993
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
9cf4389cf2edd17bc2029cc566780b26f89985f8 15-Mar-2012 Paul Westbrook <pwestbro@google.com> Added support for returing status in message cursor

Change-Id: Ifa027877774d4f8740662d26a0e1f27298800e59
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
2d82d61d85cd5ed9e9e23c0968b492f11f3ee9bd 07-Mar-2012 Paul Westbrook <pwestbro@google.com> Add richer parameters for conversation/message list

Now the conversation view requests that the network is not
hit after the initial load of the conversation. It is up to
the implemeting UI provider to do the appropriate thing with that
information

Change-Id: I3eb517cc6a63b7f3a397a3ea650e129ef9624bca
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
d9d9da38d7ef5a566a929c4715e3ec66d3934f7d 15-Mar-2012 Marc Blank <mblank@google.com> Remove unused ConversationFlags

* These are separate fields in Conversation; I'm not changing
values for existing flags at this point, though we could...

Change-Id: I98e43c166f7178e1104baeb424979a3994dbb69e
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
22657529437c160dec072115c5982409306c1313 14-Mar-2012 Mindy Pereira <mindyp@google.com> Add flags to conversation columns and add the personal indicator flag.

Flag -> used by email; if there is no flag view conversationitemview
shows nothing
personal indicator -> used by gmail; if there is no personal indicator
flag, then conversationitemview shows nothing.

Leave low/ high in for now to avoid breaking the build.
Move email/ gmail provider over THEN get rid of this.
Change-Id: I0807ddf38ae660d7bd99ffa55bde78e42479ed76
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
d69f5ad0dc64c513ea86dc0c42fa6536f5e01998 14-Mar-2012 Mindy Pereira <mindyp@google.com> Add calendar invite conversation flag.

For marc.

Change-Id: I4c8b9cb5a11e1fb1a672f39c894792c74490ee07
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
7e5de7a9825120dcc6c94230ec5cd61b178fedf2 13-Mar-2012 Mindy Pereira <mindyp@google.com> Get rid of second id for folders.

Use the uri to compare two folders.

Change-Id: I95c63190ec3a467b0b792f8c8104b6a69fa4b8c7
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
0b63e8d3839c5b9ffb98e2764b7d6d83dd11bf97 13-Mar-2012 Paul Westbrook <pwestbro@google.com> Added a string base folder id

CursorAdapter assumes that the value in the _id column is
a long. Storing a string in the column causes a problem. This cl
adds an explicit folder id column which is intended to be a string.

Change-Id: Ia059bbc979e3c44dc75cacb8be5ca6d49712e4ec
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
6dde178687e85aaab9b3f8e9c124c3ab99b77d5a 13-Mar-2012 Vikram Aggarwal <viki@google.com> Fix the null URI versus "null" versus Json.NULL

Change-Id: I51d3683d6c0f637689aded58bba95fdec9dbe8ce
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
b5080d5335d2aa445a660ad426ab008750be24cb 09-Mar-2012 Mindy Pereira <mindyp@google.com> ehow folders in conversation list items if they exist in the layout.

Change-Id: Iec0198f7eab014c71d66e1c026942988d985f1e9
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
183718b76a76c7b3ad907d8e959e8525e7836426 12-Mar-2012 Mindy Pereira <mindyp@google.com> Actually give raw folders a name.

Change-Id: I739b9fb5e95622b07eb7e0fd119d3a2aa1e3eddb
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
cc8211df898ba9dac17a766b89f28d6e6f0afef0 12-Mar-2012 Mindy Pereira <mindyp@google.com> Add rawFolders column to conversation.

Can be left null if the provider does not wish a conversation to display
its associated folder(s)
otherwise this is a list of serialzied folder information

Change-Id: I0cc1dc168efea578a51ef4eefb3f0149eca08806
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
48a4aed2e943debf725564808944e7c9e46dce5d 10-Mar-2012 Marc Blank <mblank@google.com> Add loadMoreUri to Folder

Change-Id: Iaca2d206c927898b8ac9e4a8be616752c1e22029
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
1475a7a8110ba0bc452be33e0162aa61f8dbada6 09-Mar-2012 Paul Westbrook <pwestbro@google.com> Updated documentation

Change-Id: Idfb667430ffdd412adb5b490953427a0c58fd448
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
30fd47bf1947da5ad813cb957b6cbe569dce563a 09-Mar-2012 Mindy Pereira <mindyp@google.com> Remove all label refrences from unified; change to folder

Remove labels text views from unified mail conversation list items.
Gmail will override with a new xml file that will provide a "folders" area
Change-Id: I443b8d73f253f046dfa8a8a68afa19e89bf7a85a
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
9275a069355a0cc1b78882387220d5364404b537 09-Mar-2012 Mindy Pereira <mindyp@google.com> Add foreground and background color cols to folder.

Change-Id: I0cbbed2b6dff2e68a652dea005321af9b2e707aa
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
27e85f244604c8de53b76b135e0dd6f2bf3cad96 06-Mar-2012 Vikram Aggarwal <viki@google.com> Modify UiProvider to save recent folders and read them in the spinner.

Things to be done:
0. Use a loader rather than running a query on the main thread
1. Touch folders only when a conversation in the folder is opened, not when the folder is opened.
2. Recent folders for exchange/pop/imap.
3. Tablet label list fragment with recent list.

Change-Id: I9a57c90d48430e865f6fca8b70619fa5e8eb3360
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
109369d52c80d25d1b02e769e2406656b0a8d4e4 08-Mar-2012 Andy Huang <ath@google.com> update attachment projection column offsets

Change-Id: I14446ac6d1cc10b4d1e28fa082293205c1f0c2df
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
e0b83b8d9d2e5930a9453173a8b1da63c57f6db7 07-Mar-2012 Andy Huang <ath@google.com> Flesh out attachment download details

Add columns to AttachmentColumns for the UI to initiate and
cancel downloads, and for providers to convey download progress.

Remove SYNCED column, as the joined-string representation of an
attachment contains "origin", which covers the same thing.

Remove ORIGIN_EXTRAS column, as the joined-string representation
already contains that info.

Change-Id: Id50ffbf07b867a1cd7e5fd40f171d45b556b197b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
8130e6f851c596985836084c7a21899d908c0c54 06-Mar-2012 Paul Westbrook <pwestbro@google.com> Added query parameters for search

Change-Id: I37bd49dc7500a7353f0ba4adcbe545bc5d94f5e0
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
898cd38018ff4331e79262451f464efa9dc5d43e 06-Mar-2012 Mindy Pereira <mindyp@google.com> Add mimetype to account, widget intents.

That way it is possible to distinguish between email2 and gmail2.

Change-Id: I495fcd24f684e0b935434b1a0628a9eb3bd9c834
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
7866472df1b6cfee8345493e43468d854680fadc 05-Mar-2012 Mindy Pereira <mindyp@google.com> Add folder types, icons.

Change-Id: I43b3126b1f6e6bb4cd58763a3a17a357d4d1f9b5
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
8bd82155143d6967f9be67555a2913b3f22c1817 01-Mar-2012 Mindy Pereira <mindyp@google.com> Create settings model.

Change-Id: Ia4cdb7f6328c29ced8e86de4e04d04ef5e61fb9f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
9783a7470902970d3d3f5d85a6327a90e6b72331 01-Mar-2012 Mindy Pereira <mindyp@google.com> Add default inbox field to settings.

Change-Id: I766c88c04efe889cb86d60d9fa5e03397d5dc7a5
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
7f0a962513503cb01aec093b14c1b48dfae08f12 01-Mar-2012 Mindy Pereira <mindyp@google.com> Hookup ui for marking a conversation important/ not important.

Change-Id: Ic699aa172adccb335d67978abf4c0bd95d958a61
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
6c51158ad3269f157424e6c7bd488425c98da08f 27-Feb-2012 Vikram Aggarwal <viki@google.com> Make constructor public to handle resume/rotate

Change-Id: I4953ae6ed753792eb8a7aced99474fe09976f140
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
104f729c284f9b7b31a251350252f8ae31d09f86 29-Feb-2012 Paul Westbrook <pwestbro@google.com> Support for "always show images" from sender

Change-Id: I1e23af65d28d40c731f91f4bce3bf19a06d34fc8
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
63eef79f2fb114a6026349eccf3fac6134b76e65 27-Feb-2012 Paul Westbrook <pwestbro@google.com> Add support for reading preferences

Change-Id: I3eeeea8858c369f9b6ef1cddb1e6d31da06e015b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
23755e2109c3f97e3b51857e4a81355b1a3995a7 27-Feb-2012 Mindy Pereira <mindyp@google.com> Add compose uri field to account.

Change-Id: Ia37552b063eb028b78c6c7bf0eb69b1c35687c7d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
94e440d7fb9bb54ba4b22e348a2e22f3cf8e0167 24-Feb-2012 Paul Westbrook <pwestbro@google.com> Add support for showing help

Change-Id: I61755c203eaef56f2c27d9110f297ee410265934
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
334e64af904085984cdcbecbcbc18cf488a9ceae 23-Feb-2012 Paul Westbrook <pwestbro@google.com> Add support for archive/spam/mute

Add new operations in the UIProvider for the providers that
support archive/mark spam/mute

Fix animations for userdebug builds

Change-Id: I2e6372095f7ce6d29d37768e1075a098ca3a7646
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
621b4bdf468f9af05f8ce55518353709185d8f6e 23-Feb-2012 Mindy Pereira <mindyp@google.com> Remove sync_frequencey column on folders.

This is only shown/ changed in settings and used by individual
providers. Settings will be launched by the specific apps.

Change-Id: I178ede436ef0043d2f2a3105875105752c4ff33d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
c808fac6076182c77fd5348f5136d325c6e34e14 23-Feb-2012 Paul Westbrook <pwestbro@google.com> Changed no_sync to be 0

Change-Id: I8a856ff6f826e502de9b0135b6d930a7645985da
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
9912eee82731d0cbf2c6cf35e62c8388c2a9ee79 22-Feb-2012 Paul Westbrook <pwestbro@google.com> Switch to use EDIT intent for editing settings

Change-Id: Ie0fdab91806c0479f5ebb1dd3670720048d564f4
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
343ffebe391df40713fc4a41ae97d9e08d0b9b4b 22-Feb-2012 Mindy Pereira <mindyp@google.com> Add account capability for undo.

If undo isn't supported, never show undo bar.

Change-Id: I061334e2e9e2bf9834dd5eb4ac94b479877adc21
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
9ace18a77e1c61700291f6116bb8162c8fce1fad 22-Feb-2012 Marc Blank <mblank@google.com> Add account/folder status columns

Change-Id: I0dd68839e8065d3897ed5f8d017e4ea7d41819d8
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
2861b6a649090ce1401b4bb04dd87df5bb26472b 16-Feb-2012 Paul Westbrook <pwestbro@google.com> Settings uri

Support for the UI provider to specify the uri for the
intent that should be used for launching settings

Change-Id: Ibcaf35b15774d87436f83475a3971ceae0ede6fd
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
9600dac67c5b3844b3a43a229bf3c309d84f978c 18-Feb-2012 Mindy Pereira <mindyp@google.com> Add status uri for entire account.

Change-Id: I117492b45922e93d6be8bb2fa1c970a830db4909
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
7752864ebcff53a682c2b615802a675908c3d8fc 18-Feb-2012 Mindy Pereira <mindyp@google.com> Add status uri to folders.

So ui can poll for the status of syncing on a folder.

Change-Id: I88621e21cb333c4d650f54b6e3df9973ffe035d0
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
9c002107b4f3f052f744bb54a4ddca0f09a99d9e 17-Feb-2012 Mindy Pereira <mindyp@google.com> Add refreshUri to folders.

So we can force a sync from the ui.

Change-Id: Ie1ca549c83473101155fcf484b3f4e3969467530
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
36b6c8b6e87505ec106c7884e117db279d75c427 03-Feb-2012 Mindy Pereira <mindyp@google.com> Add Folder_LIST column to conversation. Fix build.

Change-Id: Ifa428e83762f933eb8114a92466a806e634537fc
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
859681bd80922fea91e71ecf867ee1ad7a7a5970 03-Feb-2012 Vikram Aggarwal <viki@google.com> Describe account capabilities

Change-Id: I2547dea94cefcb1edfd56819d6300afe0d4b147b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
846488982a7a93f48ec36b616657fad10c62d8f5 03-Feb-2012 Mindy Pereira <mindyp@google.com> Add supports multiple folders to account.

Change-Id: I9378e2b5ee10a60fc22901fc362f098c9e8506d6
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
9cdc406b7b99915201a34e031c46b6f7ac5edc87 02-Feb-2012 Mindy Pereira <mindyp@google.com> Get permissions to work with Gmail app for deletes.

Change-Id: Iae42a9c728619ad73c46067935bf6765a3a67e7d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
dd10bc8736282262da0cd9a5f9a0236c10b47028 02-Feb-2012 Marc Blank <mblank@google.com> Don't recycle animating views, etc.

* And a few twiddles to ConversationCursor
* And make Conversation.delete/updateBoolean return
a sequence number

Change-Id: I79867e1ce562246eabecfd1c4eff686647578503
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
b31ab5aea601f8aa5136a99edc23fb4d907f792e 01-Feb-2012 Marc Blank <mblank@google.com> Add provider support for undoUri

* Also added "seq" parameter for undo support in ConversationCursor

Change-Id: I482e4db437826276e4c13c60835259be175f7a4f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
96b5c357860f46a7bd5f867774a53d5cc5069def 01-Feb-2012 Mindy Pereira <mindyp@google.com> Undo logic.

Change-Id: Iba82ec2c654802f4583346ffc614ba91622fe6a1
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
c8a994227b9c686d88ee05840544162711a85712 19-Jan-2012 Marc Blank <mblank@google.com> Prototype ConversationCursor/ConversationProvider

* Handles updates/deletes from the list instantly, then forwards the request
to the underlying provider
* Only starred/delete are implemented currently for Email types; the Gmail
provider doesn't yet support updates to UIProvider uri's
Note: Email types support read there's no read/unread support in the prototype
UI
* Updated UIProvider/MockUiProvider with latest adds to Conversation class
* Underlying provider must notify ConversationCursor of changes via newly
defined notifier URI

TODO: ConversationCursor wants unit tests

Change-Id: I91babcd5c27109acaa1f7479d584524e8a508a56
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
7ed1c1122c5677344a1ce176be2c03972fed26f5 18-Jan-2012 Mindy Pereira <mindyp@google.com> Setup saving drafts.

Change-Id: Id308cf902ec8ea15d2d785f21b1c821a281f8a2c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
84554eca6e7c3d87bd2643257dd7f5e7aef8dbd6 17-Jan-2012 Mindy Pereira <mindyp@google.com> Fix missing column name and make it final.

Change-Id: I371511a293fbe8a858ecb492511b2f5a31583913
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
04e22d3c52dab4a6aafdb057ed14c06ee6d7797b 17-Jan-2012 Mindy Pereira <mindyp@google.com> Fix missing column name.

Change-Id: I8b5e7f0f10aab28e21c1be5bda2e7c359522a7ca
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
f944e9655562e321aff52fe5f437e1d2fa2950a9 17-Jan-2012 Mindy Pereira <mindyp@google.com> Handle attachments on sent messages.

Change-Id: I13a2b9250b61fd059b4b3f92caff03c7a3614881
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
3ce64e7ceb6246130342385d91550bcf33b31cc8 13-Jan-2012 Mindy Pereira <mindyp@google.com> Create parcelable message.

Also, gets rid of and renames fields that required them per:
name change to appendRefMessageContent
remove custom_from field
remove quoted text pos

Change-Id: I33a2f83b906d2504a8a6ae58f79f1618bb8a20cd
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
ff7d02ac1660d0f4bca9fce1f2033a6ea19c94c2 12-Jan-2012 Vikram Aggarwal <viki@google.com> Create Folder, HelpCallback and MenuCallback.

Folder was created by looking at the new UIProvider. HelpCallback and
MenuCallback are interfaces pulled out of MenuHandler.

Change-Id: Ib4f1f9712508f9579c14a3319ec5a421cf07bcaf
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
97c25be161de53aa55662ebf44f2d489ddd86dea 13-Jan-2012 Andy Huang <ath@google.com> UiProvider API cleanup

remove CLIENT_CREATED
change DRAFT_TYPE to an integer enumerable instead of a string
for consistency.

Change-Id: Icd4bfebd7836f06d8c146c6e3366c5dcec517202
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
db97747e5adc0a5fdf38f0f7c7f3878156278424 12-Jan-2012 Andy Huang <ath@google.com> changes to support fetching Gmail messages

Remove CLIENT_CREATED field, since it's never read from the
Gmail UI.
Fix MessageFlags.
Add docs to most message columns.

Change-Id: I1c528da9d103a3f27258eba270cf86cc9d4a18d1
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
a457137806ef3384099fb60e71a39236c65d4e62 12-Jan-2012 Mindy Pereira <mindyp@google.com> Sending state of 0 is default.

Change-Id: Ica890feedcabef676f91c07d8ed75c9754a439ee
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
4db59c58c0af9f44d95a12dbe21322bed58cc518 12-Jan-2012 Mindy Pereira <mindyp@google.com> Senders logic.

Have a senders info field in a conversation
Have this just have senders in it (Gmail knows how to parse out JUST the senders, so it makes sense to me to just let Gmail do that, since other providers just have senders in that field and the info doesn't NEED to be together for display purposes)
Add other field(s) for catching unread counts, message counts, etc

Change-Id: I50b85b25e9e7e96f1a8afade663ea72ba6e79491
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
1666816f97b7d69124d25f61415b8e258357e4db 12-Jan-2012 Mindy Pereira <mindyp@google.com> More recipient tests for reply/reply all/ fwd.

Also added _column to the end of the html_body and text_body
fields for message columns.
Change-Id: I565a89d9eb811d122ca7aafd62b15a97c3cfe484
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
4f9a4c5ccb1370f583639e763b1c529fe6762271 12-Jan-2012 Vikram Aggarwal <viki@google.com> Fix copyrights of all files

Change-Id: Ibe235f0b411946690b29efd6b0399a77b02f3a5a
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
818143e2163648acc0c91f123b84777d65cd70cf 11-Jan-2012 Mindy Pereira <mindyp@google.com> Add compose tests.

First tests are for correct recipients in reply, reply all, fwd.

Change-Id: I845bd3b29cee6736c7aee5a589bc548d26eb9acd
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
7a07fb4955e34250225287212b07d1b6f12bf671 11-Jan-2012 Mindy Pereira <mindyp@google.com> More cleanup of compose activity; add attachments when forwarding.

Change-Id: Ib4290f95ccd38926c361a320dcaf8f66412e780e
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
fc2277eafed6d6d047993fd50f3ec8cee23c6cd8 11-Jan-2012 Mindy Pereira <mindyp@google.com> Fix javadoc for folder has_children.

Change-Id: Ib33f86fb23e4a8d5383a4ef00c06f766619acf99
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
732600e38891db139bae02dc91dd0c5b0987e8e9 11-Jan-2012 Andy Huang <ath@google.com> conversation activity plumbing

Short circuit UI usage of unnecessary ConversationColumns.URI
indirection. Conversation view can be passed a model from the
list view rather than querying again. Add Conversation
parcelable to be a model that the UI can pass around.

Fix minor misc issues.

Change-Id: Ifdbdc914d1522066bfce757e1237caa67d85fea2
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
82cc5665cb18801022cd60cd52abcd16a50debdc 10-Jan-2012 Mindy Pereira <mindyp@google.com> Setup send / save.

Round 1: expect a few cleanup passes
This doesn't handle saving request maps or respect user prefs
Change-Id: Ia93400a49bdbc9052c3f9b72d3397f4e23a4d97b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
33fe908589dca6a7f58aa9f56d73f74a48ac42f6 10-Jan-2012 Mindy Pereira <mindyp@google.com> Pass the account around instead of just hte account name.

We need the account for capabilities, uris, etc., so just
pass it around when launching new activities/ fragments/ etc.

Change-Id: If05cae10a092679ea0e7807ae36f7965d065a649
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java
30e2c24b056542f3b1b438aeb798305d1226d0c8 07-Jan-2012 Andy Huang <ath@google.com> rename unified email's package name to com.android.mail

New code needs a new package name. Fixes IDE conflicts when
browsing.

Change-Id: I328484c6d6c71df077a05d2f7d6d1e85074107c2
/packages/apps/UnifiedEmail/src/com/android/mail/providers/UIProvider.java