Tony Mantler
805bc397bd
Merge "Populate the snippet in ConversationInfo" into jb-ub-mail-ur10
2013-10-08 16:22:58 +00:00
Tony Mantler
b62486b019
Populate the snippet in ConversationInfo
...
b/11111973
Change-Id: I8a4e824ad4c708fba8013221279a0b1ac6df7a8c
2013-10-07 16:50:55 -07:00
Tony Mantler
5d47ee0f87
Store the total count of search results in the database only
...
b/11027351
Change-Id: Ibb63bd7b80ff0af653cca4424dd2d17168262710
2013-10-07 14:40:14 -07:00
Yu Ping Hu
1265011585
Merge "Don't push things that haven't performed initial sync." into jb-ub-mail-ur10
2013-10-04 21:41:13 +00:00
Yu Ping Hu
3f24a9e2c7
Don't push things that haven't performed initial sync.
...
Also remove the ping kick.
Bug: 11081520
Change-Id: I21d5050886b2c352771013f4f3e5b9282482d508
2013-10-04 14:36:43 -07:00
Tony Mantler
d946f8319a
Merge "Reply-all setting is modified at runtime, don't cache it in a static map" into jb-ub-mail-ur10
2013-10-04 21:21:26 +00:00
Tony Mantler
7c24f48a37
Merge "Remove notifications while we still know what type of account this is" into jb-ub-mail-ur10
2013-10-04 20:28:42 +00:00
Tony Mantler
b424ffa65b
Reply-all setting is modified at runtime, don't cache it in a static map
...
b/11066041
Change-Id: I4e14c3add3fe2503e8369dbb7ef976e110ef2fee
2013-10-04 13:25:26 -07:00
Martin Hibdon
387612f469
Merge "Fix display for inlined and non-inlined attachments" into jb-ub-mail-ur10
2013-10-04 20:13:16 +00:00
Tony Mantler
ac1d3249fb
Remove notifications while we still know what type of account this is
...
Also add null check just in case
b/11070468
Change-Id: I187b9b084512a2b994f4a0a3b750ade5eee50624
2013-10-04 12:27:20 -07:00
Martin Hibdon
fc8a57bb29
Fix display for inlined and non-inlined attachments
...
b/11069575
The problem is that the UI_MESSAGE query strips out
any inlined attachments, but the UI_ATTACHMENTS query
does not. This means that we display all attachments
at the bottom, regardless of whether or not they're
inlined, but the formatting is wrong because when we measured
we only had the non-inlined attachments.
Maybe we should not display the inlined attachments at
the bottom, but right now if we do that, it's impossible
to save an inlined image. So for now, I'm just making
UI_MESSAGE query keep the inlined attachments so that
both queries have the same behavior.
Change-Id: I155f5bb74dbfbc8dbf02b56dca58fbca3da5da78
2013-10-04 12:13:02 -07:00
Tony Mantler
840408c41c
Remove mAmAccount from the email provider account object
...
b/11070468
Change-Id: I51bad4be41800e4cd6dae42744005ade784cdf82
2013-10-04 10:21:25 -07:00
Tony Mantler
f086deac70
Change notification code to key off android.accounts.Account
...
b/11023774
Change-Id: I6dd267591148378265b0f12c7ea6d74b450a0f3d
2013-10-03 13:26:55 -07:00
Paul Sliwowski
7df98d0a6d
Fix autodiscovery failed dialog.
...
Bug: 11030161
Change-Id: Id97766969608016efe068e5c142407ad94438b05
2013-10-02 16:00:33 -07:00
Martin Hibdon
921c04d2ac
Add some logging
...
Change-Id: Ib26ffad0bb6841361b8ee7be4ee2a6255d509ae2
2013-10-01 17:08:16 -07:00
Tony Mantler
768c6b86db
Don't show "No messages" when starting a search on Exchange
...
Also clean up some finals
b/11027351
Change-Id: Ib76cc90b04acb531d53b2d6bdc4e3b0ad911f72c
2013-10-01 12:02:47 -07:00
Tony Mantler
53ecec0ad4
Merge "Only return messages that are unread and unseen for an unseen query" into jb-ub-mail-ur10
2013-09-30 23:34:19 +00:00
Tony Mantler
d4a06f409d
Only return messages that are unread and unseen for an unseen query
...
b/10970849
Change-Id: I23d40fc39987fab35521f1dd75f4631f1fae16d5
2013-09-30 15:32:42 -07:00
Martin Hibdon
2cf965b85f
Merge "Make draft attachments work correctly" into jb-ub-mail-ur10
2013-09-30 22:23:42 +00:00
Martin Hibdon
f484751e06
Make draft attachments work correctly
...
b/10968838
The main problem here is that Ui Attachment was always using
a content Uri that was generated using the attachment's account
Id and rowId. This works correctly for attachments in messages
we have received, but it does not work for drafts: Draft attachments
are not stored in the normal place, rather, they are stored in
the cache directory. There is an additional column in the
Attachment table, called cachedFile, which is not replicated in the
Ui attachment. That's okay though, if we have a cachedFile, then
when we are populating a Ui Attachment, we should just use that
for content Uri.
Also, I discoverd that for draft attachments, we were not correctly
setting the account key. That didn't turn out to be the problem,
but I'm fixing it anyway because it will cause problems later on.
Change-Id: I0143ba824f3a5bfcd77f32828931b94d6977626f
2013-09-30 15:08:45 -07:00
Tony Mantler
b38c7d1c37
Avoid ANR due to looking up account info on the main thread
...
b/10987175
Change-Id: I7344e2717ab1b9557385eb6eb9e7962461b10c9d
2013-09-30 12:31:52 -07:00
Yu Ping Hu
125cbdf9d4
Make certain we don't use a null account.
...
Bug: 10965484
Change-Id: I525d32fcbde0fbbe0bec467814cf4f09a3de38fe
2013-09-29 18:09:17 -07:00
Yu Ping Hu
85ad73aecd
Pass the correct id to getAccountManagerAccount.
...
Bug: 10965484
Change-Id: I8e1aab4810da4673313b10231592283736a92ef9
2013-09-29 16:12:52 -07:00
Alon Albert
c4d139c4f4
Auth Notification
...
Some changes that allow a notification to open Account Settings for a specific
account
Bug: 10930585
Change-Id: Ib329e339b405ccbc0631d5ce6a23bf8fa6d62b83
2013-09-27 17:52:48 -07:00
Yu Ping Hu
386c8ccbf9
Merge "Kick the push once an hour, in case it fails." into jb-ub-mail-ur10
2013-09-27 21:18:10 +00:00
Martin Hibdon
9d3e01c589
Set the client cert from AccountSetup
...
b/9661767
Change-Id: I292ff5e190ed56077a04e37869e18a46f5473985
2013-09-27 13:47:16 -07:00
Yu Ping Hu
69418d0460
Kick the push once an hour, in case it fails.
...
Bug: 10954795
Change-Id: If6325c04b2011fb476f20f1419afaee13a786d3c
2013-09-26 22:20:20 -07:00
Yu Ping Hu
5e8d8c1f80
Modify ping on settings changes.
...
Bug: 9020744
Change-Id: I0dfa2b8e9d999072b8201da61916372ca1a5b08b
2013-09-26 18:33:13 -07:00
Yu Ping Hu
6580e50031
Fix a bad log message.
...
Bug: 10950496
Change-Id: I06c5e20eea9090bbfc6d0c12d8ce8e31d47f52a2
2013-09-26 14:15:50 -07:00
Tony Mantler
e43fbd05de
Merge "Fix account matching at initial screen to match against email address" into jb-ub-mail-ur10
2013-09-26 20:45:55 +00:00
Tony Mantler
463584d23f
Fix account matching at initial screen to match against email address
...
b/10210901
Change-Id: I64d60ca33a42a19e085dd98a7a61d68ac30027f9
2013-09-26 13:41:09 -07:00
Martin Hibdon
7140095932
Merge "reduce the length of a log tag to a legal amount" into jb-ub-mail-ur10
2013-09-26 20:35:03 +00:00
Martin Hibdon
fead9986c1
reduce the length of a log tag to a legal amount
...
Change-Id: I6f18b9aa893cdccfebf24885b4668a50472af802
2013-09-26 13:29:24 -07:00
Martin Hibdon
780e92aea3
Merge "Handle it if an fetchPart has no content-encoding" into jb-ub-mail-ur10
2013-09-26 20:28:32 +00:00
Martin Hibdon
312aa85609
Handle it if an fetchPart has no content-encoding
...
b/10855399
Change-Id: Ic2a8b51d095fe44f180ba2f2171dc70a9df10a1d
2013-09-26 13:10:48 -07:00
Alon Albert
feb2c387b0
Upsync Exchange Folders on syncedMessage updates
...
On updates to content://com.google.android.email.provider/syncedMessage
request a sync for the folder the message is in.
We need to do this because Exchange sync adapter is marked as
android:supportsUploading="false" so notifySync() doesn't work.
Neither does adding a UPLOAD extra to the sync request. If we do that, the
request is dropped.
This means that the sync request will also downsync the folder but t's probably
a good thing anyway.
We could add our own version of UPLOAD extra if we really want to prevent downsync.
Bug: 10678136
Change-Id: I14f06c4da905560716773d31d59388d2e6d25635
2013-09-26 11:16:23 -07:00
Martin Hibdon
bf49e99569
Merge "Move calendar and contacts to the new account on upgrade" into jb-ub-mail-ur10
2013-09-25 22:15:22 +00:00
Tony Mantler
bc5653471c
Merge "Separate the account name from the account manager's account name" into jb-ub-mail-ur10
2013-09-25 22:10:56 +00:00
Yu Ping Hu
229e173010
Merge "Disable account setup debug screen." into jb-ub-mail-ur10
2013-09-25 21:56:15 +00:00
Tony Mantler
1082ed9430
Merge "Match against both account name and type when reconciling accounts" into jb-ub-mail-ur10
2013-09-25 21:24:52 +00:00
Tony Mantler
5757047f33
Merge "Make sure the account check dialog doesn't outlive the account check fragment" into jb-ub-mail-ur10
2013-09-25 21:24:35 +00:00
Tony Mantler
ed0ee50a12
Match against both account name and type when reconciling accounts
...
b/10210901
Change-Id: Ice60ab64a2f7287be9ee639e5777f85bda4bd390
2013-09-25 13:34:04 -07:00
Tony Mantler
d8ee809ac2
Make sure the account check dialog doesn't outlive the account check fragment
...
b/10918608
Change-Id: I65725b8935b2902ff926ba333cd41a3c1545f332
2013-09-25 11:24:55 -07:00
Tony Mantler
d17359c2b4
Notify on message Uri when a message is deleted.
...
b/10919322
Change-Id: I0b39bcbc2e03c45fc0c161211c7cdacd97791c15
2013-09-25 10:09:01 -07:00
Martin Hibdon
3aad3fcb8b
Move calendar and contacts to the new account on upgrade
...
b/10805685
Change-Id: I08de135f166ad10812c9318efe649694e5c448d0
2013-09-24 17:02:08 -07:00
Tony Mantler
7349fbff64
Separate the account name from the account manager's account name
...
b/10894178
Change-Id: Ie64ae00e4fd382fb03fc7c87ea91c7aff8fc8f43
2013-09-24 16:41:50 -07:00
Tony Mantler
bab16f9161
Merge "Virtual folders are valid folders, don't kick back to the inbox when we're viewing them" into jb-ub-mail-ur10
2013-09-24 18:58:43 +00:00
Tony Mantler
96192ef342
Virtual folders are valid folders, don't kick back to the inbox when we're viewing them
...
b/10847930
Change-Id: I182fee7d6caa5c4a67911c0c8e969d8668ac87d0
2013-09-24 11:42:21 -07:00
Tony Mantler
4f32213ebe
Missing part of I27ad5ee75df669315e03c9ccc299bfc8eacbb53b
...
Change-Id: I207898b4f6f9148758d4ee1c6a82cbb387570240
2013-09-24 11:25:36 -07:00
Tony Mantler
e54d6957db
Clear out erroneous sync values for IMAP mailboxes on upgrade
...
b/10695945
Change-Id: Ic68c9ef0baa25eae40631184cf0322ff26c9e5ab
2013-09-24 11:08:33 -07:00