Commit Graph

4926 Commits

Author SHA1 Message Date
Makoto Onuki
2a47caef7d am 553037ba: Merge "Fix NPE in NotificationController" into honeycomb-mr1
* commit '553037ba4ecfc72d68743eff223e16fb9511d7c1':
  Fix NPE in NotificationController
2011-03-09 16:09:00 -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
27372998d6 am dd6e6b85: Fix bug 3509555 make notification always open right account
* commit 'dd6e6b850462fd8617a73dd40b5e7d32f0aaf5ed':
  Fix bug 3509555 make notification always open right account
2011-03-09 16:06:48 -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
Eric Fischer
125a5419d3 am 4408de22: (-s ours) Import revised translations. DO NOT MERGE
* commit '4408de227ce1438813c77125fccd1249633dcaae':
  Import revised translations.  DO NOT MERGE
2011-03-08 18:42:34 -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
0c149eef41 am ccc0e10b: Merge "Only delete attachments from drafts" into honeycomb-mr1
* commit 'ccc0e10bc7b62e38aa0c329e69941bcda9b338e4':
  Only delete attachments from drafts
2011-03-08 11:04:29 -08:00
Todd Kennedy
ccc0e10bc7 Merge "Only delete attachments from drafts" into honeycomb-mr1 2011-03-08 10:59:23 -08:00
Makoto Onuki
7e6e7416fa am 665b1801: (-s ours) Merge "DO NOT MERGE: Make ACTION_SEND_MULTIPLE work with file: URI" into honeycomb-mr1
* commit '665b1801471c4393f1a0e85c5f1206580b902eaa':
  DO NOT MERGE: Make ACTION_SEND_MULTIPLE work with file: URI
2011-03-08 10:37:18 -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
8e09307b27 am 39121c75: Fix display of inline images
* commit '39121c758dcc919b5fde4c893d488916e26d3140':
  Fix display of inline images
2011-03-08 10:21:54 -08:00
Todd Kennedy
9106c9d245 am f42d5c62: Implement UI tweaks
* commit 'f42d5c6234bfb26f63a711fd59076964283fb7f0':
  Implement UI tweaks
2011-03-08 07:58:46 -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
d40b344fe0 am add274a7: (-s ours) Merge "DO NOT MERGE: Harden Device.getDeviceId()" into honeycomb-mr1
* commit 'add274a704cf95b39e02cc0cda4943ffe0d9c5ee':
  DO NOT MERGE: Harden Device.getDeviceId()
2011-03-07 17:39:09 -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
7983891c4c am 019184c8: (-s ours) Merge "DO NOT MERGE: Update assets" into honeycomb-mr1
* commit '019184c8f77ce4721d51305ebf35451892a3b76d':
  DO NOT MERGE: Update assets
2011-03-07 16:38:31 -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
Todd Kennedy
e8f1920d0d Merge "Update assets" 2011-03-07 16:10:39 -08:00
Andy Stadler
40d28161fa am 71d4eb89: (-s ours) Merge "DO NOT MERGE: Add account flag for use by sync adapters" into honeycomb-mr1
* commit '71d4eb890cc3c6d68ee8295df136413f69d837e0':
  DO NOT MERGE: Add account flag for use by sync adapters
2011-03-07 14:59:05 -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
225723742f am c7855d99: (-s ours) Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr1
* commit 'c7855d99f95bb1f02ca5a4bf49f91ef2206edfa5':
  Import revised translations.  DO NOT MERGE
2011-03-07 13:23:55 -08:00
Eric Fischer
c7855d99f9 Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr1 2011-03-07 13:04:40 -08:00
Vasu Nori
58d570ca8a am 9ab40a58: Merge "bug:3513950 a trivial change due to renaming of api in downloadmanager" into honeycomb-mr1
* commit '9ab40a58b64b8f2cc78241b0ca0b9064d172729e':
  bug:3513950 a trivial change due to renaming of api in downloadmanager
2011-03-07 12:55:46 -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
Andy Stadler
a0145e173f DO NOT MERGE: Add account flag for use by sync adapters
Bug: 2028418
Backport of Idc4bd74877b4edee9dab5401c4825eab82220f23

Change-Id: Ie119973ef11e982d75caf85ff03caada6e869695
2011-03-07 12:12:01 -08:00
Vasu Nori
d43438ee5b bug:3513950 a trivial change due to renaming of api in downloadmanager
Change-Id: I5f8cd86fc97afa32e4a07ee2b6ab77d3270856be
2011-03-07 11:33:50 -08:00
Makoto Onuki
7a15938763 DO NOT MERGE: Make ACTION_SEND_MULTIPLE work with file: URI
To determine mime-types of attachments from the ACTION_SEND and _MULTIPLE intents,
- Use ContentResolver.getType() for content: URIs
- Use inferMimeType() for file: URIs

Tested with Gallary and Downloads.

Bug 3510624

Backport of Ibfa4b383463f157e18fd634e55f5be4b9adf6aa5

Change-Id: Id2815738673f3822a97e92414b84f6a5d46eb96f
2011-03-07 10:46:09 -08:00
Makoto Onuki
03f7615039 Merge "Make ACTION_SEND_MULTIPLE work with file: URI" 2011-03-07 10:43:50 -08:00
Makoto Onuki
92cbc9369b Make ACTION_SEND_MULTIPLE work with file: URI
To determine mime-types of attachments from the ACTION_SEND and _MULTIPLE intents,
- Use ContentResolver.getType() for content: URIs
- Use inferMimeType() for file: URIs

Tested with Gallary and Downloads.

Bug 3510624

Change-Id: Ibfa4b383463f157e18fd634e55f5be4b9adf6aa5
2011-03-07 10:32:16 -08:00
Todd Kennedy
ce9e2d3280 Update assets
Also tile the widget header.

bug 3500861

Change-Id: I4288c4dd0c71843e18ee370102c2112626a90f50
2011-03-07 09:45:59 -08:00
Marc Blank
5f75f85454 Merge "Harden Device.getDeviceId()" 2011-03-04 18:04:16 -08:00
Justin Ho
e60640d633 am 7cdb2580: Merge "Updated stat_notify for Email" into honeycomb-mr1
* commit '7cdb25800dd44c8ecdf612ffa5ec03c9b2885992':
  Updated stat_notify for Email
2011-03-04 17:15:22 -08:00
Justin Ho
7cdb25800d Merge "Updated stat_notify for Email" into honeycomb-mr1 2011-03-04 15:39:48 -08:00
Justin Ho
20d414c28b Updated stat_notify for Email
Change-Id: I0a01a971bce46cb31ac8bf500e3ec6824b0ebb4b
2011-03-04 15:33:07 -08:00
Eric Fischer
6c3bfeab65 am 705a7484: (-s ours) Import revised translations. DO NOT MERGE
* commit '705a748475689a3a41aa67962f49b58776d3030f':
  Import revised translations.  DO NOT MERGE
2011-03-04 14:01:29 -08:00
Eric Fischer
705a748475 Import revised translations. DO NOT MERGE
Change-Id: Ib46f724811584b83295363036fca442a3f04207b
2011-03-04 13:46:00 -08:00
Eric Fischer
bd5557458f am c0d3a8fe: Merge "Remove unneeded large-screen-specific translations." into honeycomb-mr1
* commit 'c0d3a8fedbfd515eeec14a582396ec8cce5d373c':
  Remove unneeded large-screen-specific translations.
2011-03-04 01:09:01 -08:00
Makoto Onuki
72072ceab0 am ab8caebe: (-s ours) Merge "DO NOT MERGE: Fix ANR: Run getPreviewIcon on bg thread" into honeycomb-mr1
* commit 'ab8caebec6e6b4398a02abe6cb1305c424bea734':
  DO NOT MERGE: Fix ANR: Run getPreviewIcon on bg thread
2011-03-04 01:08:59 -08:00
Todd Kennedy
b656f9f885 am d8bce7e7: (-s ours) DO NOT MERGE Add original HTML message to forward/reply
* commit 'd8bce7e73155dca734f45502e52c0039de4c9663':
  DO NOT MERGE Add original HTML message to forward/reply
2011-03-04 01:08:56 -08:00
Eric Fischer
5edf3e7dbe am ded1c275: (-s ours) Import revised translations. DO NOT MERGE
* commit 'ded1c27515d77e34a8f9510f97689551ad777b19':
  Import revised translations.  DO NOT MERGE
2011-03-03 18:19:35 -08:00