History log of /packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/protos/mock/MockUiProvider.java
468671839fc23e268ca5801d40bd973ddd515522 22-Jul-2014 Ray Chen <raychen@google.com> Fix tests.

https://sponge.corp.google.com/invocation?tab=Timing%20Breakdown&id=9dbebbd8-c910-4c02-8b9d-3814109f85ab&searchFor=

Change-Id: I46a8e086bcc98e74c265378d34c5fab8a45a1641
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.java
3b59b333ad0693f74f9a8cfb24a468a8acbaca8c 10-Jan-2014 James Lemieux <jplemieux@google.com> Mail in Sent, Drafts and Outbox should show addressees, not sender.

b/10847599

This is the second attempt at fixing this bug. The strategy has changed entirely to accommodate
GMail as well as reuse formatting rules that squish the list of conversation participants into an
abbreviated line for display in conversation lists.

ConversationInfo used to include a List<MessageInfo> which was used to answer questions about
which senders had read which messages in the thread. This has been removed and replaced with a
List<ParticipantInfo>. The backend should populate that list with appropriate conversation
participants (e.g. recipients of the last message in the case of Sent, Drafts or Outbox; senders
for all other mailbox types)

Change-Id: I834223c55296bcd2509fdf544634c155594739b0
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.java
6d2442ba4417717b2a19714b0ac28c7265872ba3 18-Jul-2013 Paul Westbrook <pwestbro@google.com> Add some tests for replying to a message

The new tests excercise:
1) Replying to a message and ensuring the the "fromAccount"
is the same as is specified in the original message
2) Handling a "mailto:" url and ensuring that if the account is
specified in the intent, the "fromAccount" is set to that account

Change the MockProvider so all accounts are correctly
populated

Change test methods to use runTestOnUiThread instead of
Activity#runOnUiThread, as asserts stop the test suite

The new test methods setup the activity in a way that the user
does. The original test cases should be updated accordingly

Bug: 9823857

Change-Id: I8598fd1b27c57cf8bcd371be8960267a5ac1a770
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.java
db5356a92ebc593e9eb564aaadad8dac8cd83554 16-Jul-2013 Paul Westbrook <pwestbro@google.com> Fix mock provider

A subsequent test will add some more unit tests

Change-Id: I7e584dae397a4100de3495a3f9c597a09917aad4
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.java
45402ff1f55eb83fc9add99f83649a259b5c51a2 12-Mar-2013 Paul Westbrook <pwestbro@google.com> First step in simplifying MailAppProvider/app startup

Define a resource that specifies which content provider uris should be used
to get the account list. This removes the need to have the extra code to handle
various provider/receiver startup orders, as only after MailAppProvider is
in onCreate() will we attempt to load the account list

Change-Id: Ief5f188bf1663fcc1c389c5ce48e2173b474f6ea
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.java
b10212ef23a4e2317fc43c62dff9ad177b5bcf2c 23-Feb-2013 Scott Kennedy <skennedy@google.com> Remove Folder string serialization

Bug: 8274830
Change-Id: I2669aeb4565458f665becef2fdd4e40bc1fc0093
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.java
384b8de1a1e18b29fe392151b06ce6fbe07be4bd 06-Feb-2013 Scott Kennedy <skennedy@google.com> Cache column name/indexes so we can use getColumnIndex()

MatrixCursor doesn't do this, so we need to add our own cache.

Change-Id: Ia5ffd31f54a2a335f495df5e0d1a0886ee08c14b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.java
ae96226b7bbb4038c1aa68fce758ad6384c65889 21-Dec-2012 mindyp <mindyp@google.com> Set sender email in messageinfo

Change-Id: I8b54e773a629668af9b51934cec0c9f2a7ccadaa
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.java
65b06f52e5b6336493388923be88bdd2ded4e1d1 21-Nov-2012 mindyp <mindyp@google.com> Fixup compose test cases.

Add case where the user is replying to themselves or to their custom from
Add correct cases for reply to

Change-Id: I688cd5b7b49fe153c84fde20e73456ac574b7685
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.java
fe8557b7a3aca8c41d85edbc9a094d96aacb08e5 05-Nov-2012 mindyp <mindyp@google.com> Add missed cases to custom from address logic.

Fixes b/7477806 Reply-all on a conversation where you are included as a custom-from should not include you

Change-Id: I8d4b5906b1f19706edad9989993e68e404a30437
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.java
19a95a9366d50e8e21a9e786305ad216a2349675 02-Oct-2012 mindyp <mindyp@google.com> Bring back the mock provider.

We will need this for jank testing in the future as well as to try
to reduce object allocations.

Change-Id: I47a9fd301ebe0517bf16afd43c8736ab2bb7e18e
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.java
0c3c2058f75487713c64634c7f08025fd78ba012 21-Sep-2012 Vikram Aggarwal <viki@google.com> Explicit Intent to view Inbox

The Compose Activity was creating an intent with a folder object
populated with uninitialized values. Using this object is very
unsafe. Since the entire goal was to view the default inbox, that is
easily done by passing an intent without a folder. AAC.handleIntent()
shows the default folder when only an account is specified in the
intent.

Since using new Folder() is very unsafe, the method is made private,
and a static method with a suitably dangerous name was created to
ensure that callers are aware of the peril involved.

Fixes Bug: 7139995 Empty conversation list

Change-Id: Ic3e254630afd59a59caba10f2249e3e451005d63
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.java
b1cbb89f72631bb7e34822b98e8d0842ebd01b83 31-Jul-2012 Mindy Pereira <mindyp@google.com> Use priorities to decide who to elide.

Not sure its perfect, but its LOTS better
Test cases in a later CL
Fixes the subject showing in sendres in widget

Change-Id: I711ff6d8b1343aa01e5a38193a76467910425a9d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.java
7b6d03db55338cbf9717896f99eb20d02bf371e4 30-Jul-2012 Mindy Pereira <mindyp@google.com> Serialized strings are faster than json

Also, cleaned up/ reduced the number of Folder methods
that do the same exact thing.
From ~24ms to ~12ms/conversation now
AKA in half AGAIN
Change-Id: Ibdc67fe94d66ce32d933b4e18e9581d8c71d9974
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.java
5f424372f9a801120b5dc8d3f56e907baaa04e25 30-Jul-2012 Mindy Pereira <mindyp@google.com> Splitting strings == faster than json

Cut the time to create Conversation() nearly in half
Went from 43ms/per to 26ms/per
Change-Id: I3353c5406ba40116ce2906376369acde8d30cb7d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.java
c3efca18f09904f4ce39395169559c5d82bd3d06 28-Jul-2012 Mindy Pereira <mindyp@google.com> We weren't using the cached header models correctly.

This should speed up scrolling since we allocate fewer objects.
Also, fixes the issue where we were not properly creating a new layout
when the read state of a message changed in the case where a user opened
an unread message and then went back. Now, all the senders are properly
bolded/ unbolded.

Removed the deprecated conversationInfo.sendersInfo, which was only being used
by gmail, and had been replaced by using the proper messageinfos
Also, performed some surgery on the widgetviews so that it acutally
uses the messageInfo from conversation info

Change-Id: I43fde9cd23ebc12f2de68e0d18b941304b4a2be7
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.java
58ef69ad99623fd8795a95227aa718d3d6177c5a 20-Jul-2012 Mindy Pereira <mindyp@google.com> Render draft text, message count

Change-Id: Ib5acdc80720bc84fa5d9961cc4c4ba2b6ef979ff
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.java
1883b346928322a9f045bc5b7426ddcd6af9beb3 20-Jun-2012 Mindy Pereira <mindyp@google.com> Add custom from checks.

Make it possible to determine if any address is a custom from
for the currently active account.
Now with test cases!
Change-Id: Ib1a436d518cd3e4c28ac8990c95f2d337d06d53f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.java
cd970ddaba4e212b668588db2104dc46ad3ad793 31-May-2012 Mindy Pereira <mindyp@google.com> Fixup formatting of custom from displayed addresses.

Add an address field to replyfromaddress and customfromaddress.
Change-Id: I01d81d5db32b6ea27286de4d5ceaaebc185708ba
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.java
529d85401b64691dbbb2f87410ddcf198ec2ef76 04-Apr-2012 Vikram Aggarwal <viki@google.com> Fix crash when unmarshalling Account

Change-Id: Ief7ceb523337cad195d2ce3853332559a6eaf721
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.java
c2074c4442eacf5604dd3cecd06b363e8fc574de 22-Mar-2012 Paul Westbrook <pwestbro@google.com> Rename AccountCacheProvider -> MailAppProvider

Change-Id: I7d1079ab2a48c5c845dee2ceff281bdf00c70b0f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.java
72a9d380a0effb191c4ef8e32899ea62ebf52f55 09-Mar-2012 Paul Westbrook <pwestbro@google.com> Better handling of deletions of accounts

Bug: 6141367
Change-Id: If212a91e772a48717ac77326cd6ea1f1ad5ebfa5
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.java
5125f140391ce13a57f762bc5fb5aa07504a41b7 07-Mar-2012 Mindy Pereira <mindyp@google.com> Fix mock provider to have a default inbox.

Change-Id: I4c92c008f96c6b4d8e71a26af7b6063afca3b4c0
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.java
db8f2f9ad5dcb1d52c399520129d89b1ca38f423 02-Mar-2012 Paul Westbrook <pwestbro@google.com> Add support for caching the account list

Change-Id: I5088c7bac431a6fe54663b45d1c642a402fa1de5
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.java
cfb7f33ff8ef9dc60b9143af32de64c7a3d71f36 28-Feb-2012 Mindy Pereira <mindyp@google.com> Store URI's in Uri instead of String.

Change-Id: I5492a61b80442afc7cebc5b3d560688aebae8820
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.java
7a1017cc221ef8e5c5515b41c673a96e96083040 18-Feb-2012 Mindy Pereira <mindyp@google.com> Missed field in boot sequence.

Change-Id: Ie0d4812afa1f121efc6780a149974d748b9850f3
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.java
77177b171c483d485bdbff0178564394e8f57d0f 08-Feb-2012 Paul Westbrook <pwestbro@google.com> Start of restructuring to allow overlays include subset of providers

This allows us to build a UnifiedEmail that supports all providers
and use this base to build applications that only supports a subset
of the providers

Made AccountCacheProvider and ConversationProvider abstract. This allows
the extending class to specify the authority that should be used (This allows
both UnifiedEmail and Gmail to be installed at the same time)

Change-Id: I31295f4630906e7182e423fcbb7b47c33ba4cd4f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.java
d92e9f3d45cfedd3ebfedcf0805283007053e091 03-Feb-2012 Mindy Pereira <mindyp@google.com> Show different dialog based on single or multiple supported folders per conv.

Change-Id: I42db5fad5e1e2d3951f91f843ca46d8d58c80cb2
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.java
7ed1c1122c5677344a1ce176be2c03972fed26f5 18-Jan-2012 Mindy Pereira <mindyp@google.com> Setup saving drafts.

Change-Id: Id308cf902ec8ea15d2d785f21b1c821a281f8a2c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.java
259e52238941db08b518154215c579fd2f57ea86 12-Jan-2012 Mindy Pereira <mindyp@google.com> Simple sender display.

Change-Id: Ieea07b676d776aa33541e22e7ea3ddd0635e7c21
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.java
913897e6879f5f2713b56f13022bd784cf58a585 10-Jan-2012 Mindy Pereira <mindyp@google.com> Cleanup quoted text.

Moves getting quoted text for send/ save to quotetext view.
Also, adds expunge uri to the mockuiprovider.

Change-Id: I6c0b7f20dc3a4459e5576388c1d86c39481209d9
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.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/protos/mock/MockUiProvider.java