Commit Graph

4776 Commits

Author SHA1 Message Date
Justin Ho
e55458fa4d Merge "DO NOT MERGE Don't duplicate HTML in reply / forward" into honeycomb-mr1 2011-03-29 15:16:00 -07:00
Eric Fischer
936eb17e5c am caf358ed: (-s ours) Import revised translations. DO NOT MERGE
* commit 'caf358ed753e64ce1bc8aeb65cf728aed19f8662':
  Import revised translations.  DO NOT MERGE
2011-03-29 14:07:19 -07:00
Eric Fischer
caf358ed75 Import revised translations. DO NOT MERGE
Change-Id: I4bb7445a1b1e83b2d34dccaea7cbb98e28461bbc
2011-03-29 13:29:51 -07:00
Eric Fischer
7568aa936a Import revised translations. DO NOT MERGE
Change-Id: I92eab36c38104024c0e885240f705e57303fb617
2011-03-29 11:59:24 -07:00
Todd Kennedy
5c9be9af18 DO NOT MERGE Don't duplicate HTML in reply / forward
On exchange servers that support "smart reply", the original message is
actually appended by the server. In this situation, we should not append
the original HTML text on the client.

bug 4177192

Change-Id: I0bdb34cf837e0cc0bfac8917f993ecb764814d97
2011-03-25 15:50:04 -07:00
Todd Kennedy
99930f81f1 Don't load from the network until specified
We were always loading from the network for HTML messages. Now we don't
load from the network until the user clicks the "display images" button.

Change-Id: I4cdfea5e5338f3bba70b3d04df6551516d3e1a85
2011-03-24 16:08:57 -07:00
Marc Blank
b50a766d4a Merge "Remove STOPSHIP logging" into honeycomb-mr1 2011-03-17 07:58:04 -07:00
Eric Fischer
b814d0b368 Import revised translations. DO NOT MERGE
Change-Id: I329f90d2668658f86572f1886ba17566f6da87b0
2011-03-16 17:01:33 -07:00
Marc Blank
da3c4b8261 Remove STOPSHIP logging
Change-Id: I73786fb2f4ff10d3c0767a873e5eb1e443f1affc
2011-03-16 11:08:56 -07:00
Andy Stadler
22759bacd9 Handle complex chars policy correctly
* We needed to set DevicePolicyMnager.PASSWORD_QUALITY_COMPLEX
* Setting this, we also need to clear some of the defaults for complex
  mode that are not correct for Exchange's definition of "complex".
* Unit tests

Bug: 4092218
Change-Id: Iea7bd05d48f1aa9406222c1db5937cfd7f2662b8
2011-03-16 09:48:08 -07:00
Andy Stadler
714b2f2da3 Merge "Reduce chance of crash when dismissing dialogs asynchronously" into honeycomb-mr1 2011-03-15 22:31:21 -07:00
Andy Stadler
f0a75b9d66 Merge "Add 55 roadrunner email setups" into honeycomb-mr1 2011-03-15 16:04:55 -07:00
Andy Stadler
a685d3b019 Reduce chance of crash when dismissing dialogs asynchronously
* Caught & diagnosed by crash while checking settings
* Also possible in MoveMessageToDialog

Bug: 3412875
Change-Id: Ie78c61cf5ca10ce1eedc25ba2eb97ed0ac5bc615
2011-03-15 15:02:48 -07:00
Eric Fischer
d85b9879f2 Import revised translations. DO NOT MERGE
Change-Id: I07a17bf7191b4cb8420ffb5c55dfe26600278a26
2011-03-15 14:47:59 -07:00
Andy Stadler
36e6f4931e Add 55 roadrunner email setups
Bug: 4086524
Change-Id: I8d7758d3720e45515abae1d071a8b149ac63a4ce
2011-03-15 13:51:57 -07:00
Todd Kennedy
9c795b025e Fix portrait widget header background
When the device is in portrait mode and the widget gets resized to be
narrow (2-by), the header background becomes corrupt. The new assets
now look correct at any size.

bug 3500861

Change-Id: I80a655c8822f2a14f9100afe32c893bf412ac936
2011-03-14 16:48:05 -07:00
Todd Kennedy
09f9fc5e4a Merge ""final" tweaks to widget" into honeycomb-mr1 2011-03-11 10:56:12 -08:00
Todd Kennedy
46b8ea4b53 "final" tweaks to widget
* Add the background to the widget
* Updated background to a stretchable 9-patch
* Shift "Tap icon to change" text up a couple pixels

bug 3510984

Change-Id: I5ea65b802098c1af08e865f85fb5470e0a00b76b
2011-03-11 10:54:29 -08:00
Andy Stadler
0820e00841 Merge "Fix race condition NPE caught by monkey" into honeycomb-mr1 2011-03-11 08:52:40 -08:00
Andy Stadler
5f830f8608 Fix race condition NPE caught by monkey
Bug: 4080321
Change-Id: Ia6ef0a47f87ffdc96269a95cc3bc5564d2e98440
2011-03-10 14:56:10 -08:00
Andy Stadler
bdf0272425 Update Email version# for 3.1 release
Bug: 3018936
Change-Id: Id1e9ae8c714561a966ef3c44769a74e9704d0dc6
2011-03-10 14:37:51 -08:00
Todd Kennedy
19829ef7ed Merge "Fix NPE when trying to open attachments" into honeycomb-mr1 2011-03-10 14:23:05 -08:00
Todd Kennedy
d135ac61ee Merge "Update attachment buttons after loading attachment" into honeycomb-mr1 2011-03-10 14:20:50 -08:00
Eric Fischer
6973f001cb Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr1 2011-03-10 11:41:26 -08:00
Eric Fischer
f41d724b86 Import revised translations. DO NOT MERGE
Change-Id: I583363eaa54e813f0b7192642acdc434e92c44a4
2011-03-10 11:26:49 -08:00
Todd Kennedy
074cc5869d Update attachment buttons after loading attachment
We would update the attachment buttons if the UI was becoming visible (i.e.
coming back from a settings page), but, we weren't updating them after the
attachment finished loading.

bug 4074694

Change-Id: I9d235620b5a92c2bbb871f70c9d97350cc151ce8
2011-03-10 09:06:13 -08:00
Todd Kennedy
edd1c9ac7e Fix NPE when trying to open attachments
The attachment info may be null when we attempt to mark them for downloading.
Add a null-check before we try to dereference the info structure.

bug 4053184

Change-Id: I831e3abd100664c92f7af585014a03250e40ff64
2011-03-09 17:00:46 -08:00
Marc Blank
70e99aa97f Merge "Fix download of non-smart-forwarded attachments" into honeycomb-mr1 2011-03-09 16:12:10 -08:00
Marc Blank
0af709c2c5 Merge "Make sure services are started when Email application starts" into honeycomb-mr1 2011-03-09 16:10:16 -08:00
Marc Blank
e233fe315b Merge "Only allow prefetch when on a WiFi network" into honeycomb-mr1 2011-03-09 16:08:32 -08:00
Makoto Onuki
553037ba4e Merge "Fix NPE in NotificationController" into honeycomb-mr1 2011-03-09 16:03:17 -08:00
Makoto Onuki
43c455eb26 Fix NPE in NotificationController
This would happen when a message has no from addresses.

Bug 4027170

Change-Id: I1da091a6a55b274805ee6b3e109cbeb55a21fae1
2011-03-09 15:12:30 -08:00
Marc Blank
308ecfcc7e Fix download of non-smart-forwarded attachments
Bug: 3506114
Change-Id: Id3166402b0922eb1774ff484de249391fcc5e17c
2011-03-09 14:34:24 -08:00
Makoto Onuki
dd6e6b8504 Fix bug 3509555 make notification always open right account
The problem was that:
- Each account now has own new message notification
- But PendingIntens for these all point to the same activity,
  only with different long extras (for acount IDs).
- Framework merges these intents, because extras don't count
  as a "difference"  in this case.
- So when multiple new message notifications are shown, they'll
  all share the same intent internally, so they'll all open the
  same account.

A quick workaround seems to be to set a unique URI to each intents.

Bug 3509555

Change-Id: Ib02842bb32634cfdf01ae2d684dd04dfede23832
2011-03-09 10:24:36 -08:00
Marc Blank
88b502c70a Make sure services are started when Email application starts
Bug: 4020337
Change-Id: I6c645800c75a4f1b80c5c3d081c4292b6db81f57
2011-03-08 16:44:08 -08:00
Eric Fischer
4408de227c Import revised translations. DO NOT MERGE
Change-Id: Ib697dbb79057ad9b692c83a8171be91d8f29d299
2011-03-08 15:41:04 -08:00
Todd Kennedy
ccc0e10bc7 Merge "Only delete attachments from drafts" into honeycomb-mr1 2011-03-08 10:59:23 -08:00
Makoto Onuki
665b180147 Merge "DO NOT MERGE: Make ACTION_SEND_MULTIPLE work with file: URI" into honeycomb-mr1 2011-03-08 10:32:34 -08:00
Todd Kennedy
a94804c49e Only delete attachments from drafts
We should only be deleting attachments from draft messages and not all
messages.

bug 3489176

Change-Id: Ia1bd2894f3aabc1bfbfb36e2f5c486b47d6edf4f
2011-03-08 10:32:32 -08:00
Todd Kennedy
39121c758d Fix display of inline images
Inline images can be specified in two different ways -- explicitly with a
Content-Disposition of "inline" or implicitly with no Content-Disposition.
We correctly handled the former. For the later, we now default to an "inline"
disposition if one was not specified. This is acceptable per RFC 822 which
states:

     Content-Disposition is an optional header field. In its absence,
     the MUA may use whatever presentation method it deems suitable.

Additionally, if the disposition is not specified by the server, we need to
look at the Content-Type header for the file name.

bug 2824698

Change-Id: I146f7a67197b4e737e5f82a3d570e0f74e23fa35
2011-03-08 07:53:56 -08:00
Marc Blank
973702b30e Only allow prefetch when on a WiFi network
Bug: 3515125

Change-Id: I0814ea20b1fc73807667e7f9531c1ea065bfa803
2011-03-07 22:01:34 -08:00
Todd Kennedy
f42d5c6234 Implement UI tweaks
* Correct allignment of mailbox label
* Sender info & presence alignment fixed
* Header height corrected
* Sender header updated; new asset for background & remove the "fold" asset
* New asset icon and allignment for "show pictures"
* Selected rows have updated background; new assets
* New asset for checked items
* Update divider to be 2px high
* Update selected background for wide message list

bug 3510984

Change-Id: I028ed5619ea7127b0392d9f5b7b00c575b00f3c6
2011-03-07 18:18:30 -08:00
Andy Stadler
add274a704 Merge "DO NOT MERGE: Harden Device.getDeviceId()" into honeycomb-mr1 2011-03-07 17:34:32 -08:00
Andy Stadler
c5b23e1e71 DO NOT MERGE: Harden Device.getDeviceId()
* If we read a null deviceName, delete the file and create a
new one.

Bug: 3506362
Backport of Ida670db2f4b75cb9c94636a0af541ae5df50addf

Change-Id: If844fe2a2f3d7096a8b18e826a3640a7d9dff830
2011-03-07 17:05:00 -08:00
Todd Kennedy
019184c8f7 Merge "DO NOT MERGE: Update assets" into honeycomb-mr1 2011-03-07 16:32:50 -08:00
Todd Kennedy
e63337e78b DO NOT MERGE: Update assets
Also tile the widget header.

bug 3500861

Change-Id: Ic8a6a0a8a83974f7c653d9c78450bada7947773a
Backport-Id: I4288c4dd0c71843e18ee370102c2112626a90f50
2011-03-07 16:21:43 -08:00
Andy Stadler
71d4eb890c Merge "DO NOT MERGE: Add account flag for use by sync adapters" into honeycomb-mr1 2011-03-07 14:52:25 -08:00
Eric Fischer
c7855d99f9 Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr1 2011-03-07 13:04:40 -08:00
Eric Fischer
a79e8913b8 Import revised translations. DO NOT MERGE
Change-Id: I750fe542ddc2306036173285f5297ff675a7ec15
2011-03-07 12:55:14 -08:00
Vasu Nori
9ab40a58b6 Merge "bug:3513950 a trivial change due to renaming of api in downloadmanager" into honeycomb-mr1 2011-03-07 12:47:13 -08:00