Commit Graph

6033 Commits

Author SHA1 Message Date
Mindy Pereira
ac9975e745 We must have unique id's in order for the state to be saved automatically by the widget.
Also turned off extract mode for subject/ body as we already
did this in gmail at request of ux.
Fixes b/5161118 TO field drops all entry chips on rotation

Change-Id: Iada93bbf7ee457801340167aa1086b03b87b4268
2011-08-15 18:24:43 -07:00
Ben Komalo
e6bfd3f124 Merge "Suppress toast when adding attachment." 2011-08-15 10:29:25 -07:00
Eric Fischer
c7c371e5a4 Merge "Import revised translations." 2011-08-15 10:23:47 -07:00
Ben Komalo
4256bdfce7 Suppress toast when adding attachment.
The "message saved as draft" toast is distracting when the user is going
to pick an attachment. Stop it from happening.

Bug: 5156507
Change-Id: I3c02ec9c0a17c9d5ea3d02377cfc6d6cd8870a49
2011-08-15 10:23:40 -07:00
Eric Fischer
933be0fbdb Import revised translations.
Change-Id: I016a777f02e94ef665b5aa43b3955ca56ba6941b
2011-08-12 17:18:12 -07:00
Marc Blank
a61e7e8511 Remove unneeded and duplicate permissions in manifest
Bug: 3465831
Change-Id: If2960cc59c3b8e71c9f7b04a4c3e457dcc8ca4ef
2011-08-12 16:21:44 -07:00
Ben Komalo
61483eefa7 Merge "Update visuals for new fonts." 2011-08-12 16:12:56 -07:00
Ben Komalo
a269888e30 New widget preview asset drop
Bug: 5159294
Change-Id: I9885f38e1e217aac8df80eedaea9c578e2abb193
2011-08-12 15:12:38 -07:00
Ben Komalo
4b75ac992d Update visuals for new fonts.
- tighten up action bar spinner
- fix up message list senders/padding

Bug: 5159050
Change-Id: I00033d994a23f7fbb81cd72f53b9d66faa7570f9
2011-08-12 15:01:51 -07:00
Ben Komalo
526fadbaa0 Fix build
Change-Id: I366dad8d13dac5a157758a59d9d89552cd8d8084
2011-08-11 19:50:04 -07:00
Ben Komalo
6f96c779cf Hide presence icon when unknown.
- the "offline" icon isn't much use for a lot of our (non-gmail) users
anyways and it takes precious real estate in the header

Bug: 5147565
Change-Id: Iea3df0c1c3756ff749e50ce46a7437488dc169e7
2011-08-11 18:04:39 -07:00
Ben Komalo
7c98d35990 Merge "Prevent infinite resizes in webview" 2011-08-11 17:58:20 -07:00
Jorge Lugo
9ca5751db0 Merge "Add conversationId field to Message" 2011-08-11 17:45:52 -07:00
Jorge Lugo
c01a783cd6 Add conversationId field to Message
So that exchange can pass along conversationId when
syncing. It's not persisted in the database.

Change-Id: I53d68b27b292b0db0fd808e0deeb28751361f1f4
2011-08-11 17:07:50 -07:00
Ben Komalo
bd0d2a899e Prevent infinite resizes in webview
Bug: 2349275
Change-Id: Iea502beafcc232105486dfdd5a2d93229313bc45
2011-08-11 16:45:49 -07:00
Mindy Pereira
c165092ea2 Merge "Update styling of chips fields." 2011-08-11 15:58:45 -07:00
Mindy Pereira
ce39730da0 Update styling of chips fields.
Fixes b/5122133 replace recipient background with new multiline background

Change-Id: Icbdb1e885526ccbe1bbbb5e332db8532988a749e
2011-08-11 15:56:31 -07:00
Ben Komalo
90a3f1e08b Ensure message actions aren't available for EML
Bug: 5150912
Change-Id: I189eeed903d1af9b9da42b27acb91dd3e836c357
2011-08-11 14:12:48 -07:00
Ben Komalo
c18843d746 Prevent EML messages from reloading indefinitely
- openMessageSync for EML files touches the provider since it copies
things into the Message table from temporary attachment data. Therefore,
acting on a reload of an EML message will trigger the observer, and do
the same thing.
- still unsure when or how this regressed, but I can't see the previous
behavior being correct regardless

Bug: 5150886
Change-Id: Icfcea7beb95b0fbb026184d6fdecc93c810569ef
2011-08-11 13:34:52 -07:00
Ben Komalo
6183b73ec5 Merge "Translation dump." 2011-08-10 17:09:45 -07:00
Ben Komalo
b62437fecf Merge "Remove STOPSHIP and unused strings." 2011-08-10 17:09:35 -07:00
Marc Blank
b9e8c2def1 Merge "Remove STOPSHIPs in Email/Emailcommon" 2011-08-10 16:50:48 -07:00
Ben Komalo
0fe6797d2a Translation dump.
This is immediately following some string deletions to avoid warnings in
the build about default translations not being available.

Change-Id: If985d02e42bed2a08901eca5d7b94b9f6fb8069a
2011-08-10 16:47:27 -07:00
Marc Blank
a9f1631fb8 Remove STOPSHIPs in Email/Emailcommon
Bug: 5142183
Change-Id: I1f6e31bfd2e7c32bdd7886e54b02fd4640a96e6f
2011-08-10 16:43:20 -07:00
Ben Komalo
fbf4b8045b Remove STOPSHIP and unused strings.
Bug: 5142183
Change-Id: I97df43eeb878f352cb09ccda2eafe8c4981b9346
2011-08-10 16:41:07 -07:00
Ben Komalo
6f50b7c3f0 Merge "Fix issue where subject stays bolded when read." 2011-08-10 16:40:39 -07:00
Ben Komalo
217dc144bd Fix issue where subject stays bolded when read.
Bug: 5145057
Change-Id: I8ac88b219b2a2b84faf2707805b57eca5c960c80
2011-08-10 16:01:06 -07:00
Ben Komalo
d3ced7cce9 Show helpful messages when no accounts configured
Bug: 5145213
Change-Id: I350d59e8afc72d1bad64cf7cf3d44750e8365a99
2011-08-10 15:33:47 -07:00
Ben Komalo
da1d233916 Merge "Move lonely "Next" button to the right" 2011-08-10 14:15:20 -07:00
Ben Komalo
7aa58cf8b2 Move lonely "Next" button to the right
Bug: 5148247
Change-Id: I6cf918be3a6786a29d8dd43b0fd48795623cab73
2011-08-10 14:10:15 -07:00
Marc Blank
c3d9dba109 Merge "Fix SMTP validation code" 2011-08-10 13:48:15 -07:00
Marc Blank
7751b42f82 Fix SMTP validation code
* Caching Senders isn't a great idea; during validation, it causes
  the bug referenced below.  It's a small optimization anyway, so
  we'll just get rid of the cache.
* Also, remove unused code

Bug: 5144603
Change-Id: I539284dfa6d457fffd5cb011b8e1db5881249636
2011-08-10 13:38:45 -07:00
Ben Komalo
0cf23308ba Merge "Update headers in message view." 2011-08-10 13:30:02 -07:00
Ben Komalo
3f1a171f0b Prevent NPE when arg cache is not init
Bug: 5146630
Change-Id: I5d90f4c915f1cbb437be88849e179efd29a4b9a9
2011-08-10 10:27:12 -07:00
Ben Komalo
136dedbbd9 Update headers in message view.
- this uses the new gradient/drop shadows
- adds quick contact badge triangle thing
- also puts in contentDescriptions for the reply/all/forward/star
  actions that were lost
- also merges the headers in tablet and phone

Bug: 5144711
Change-Id: Ie2d14c26b7818aa4389731794a15be6c31f4981d
2011-08-10 10:24:24 -07:00
Ben Komalo
2468b54db5 Merge "Fix search styling." 2011-08-09 18:07:00 -07:00
Mindy Pereira
75c86362e0 Merge "Add single chip copy." 2011-08-09 17:32:43 -07:00
Jorge Lugo
0ce564962c Merge "Pre-populate contentDescription for MessageListItems" 2011-08-09 17:26:09 -07:00
Mindy Pereira
4693fecab2 Add single chip copy.
Fixes b/5143564 implement single chip copy

Change-Id: Ibcf058d7a1e8c18258a3117e9968d24a8723953f
2011-08-09 17:02:57 -07:00
Jorge Lugo
56593af65a Pre-populate contentDescription for MessageListItems
Always populate the contentDesription rather than only
when dispatchPopulateAccessibilityEvent() is called. Makes
life easier for testing.

Bug: 5129286
Change-Id: Ide897b81ff30708b9d637cebbf8eb63f06084a74
2011-08-09 16:56:21 -07:00
Ben Komalo
747c4d6f14 Merge "Small fixes to attachments UI" 2011-08-09 16:17:02 -07:00
Ben Komalo
06dee204a0 Small fixes to attachments UI
Bug: 5102245
Change-Id: I71ccce885c563454672e18aa62eac4ab3996146e
2011-08-09 15:07:57 -07:00
Jorge Lugo
757c73634d Merge "Allow pre-populating of content descriptions when testing" 2011-08-09 14:49:50 -07:00
Jorge Lugo
70a3f21041 Allow pre-populating of content descriptions when testing
Creates isTesting flag in MessageListItem. When set to true,
populates the contentDescription of each message on initialization
rather than on touch.

Bug: 5129286
Change-Id: Ia0df93bf7399859a750a3fa01e5429436b9daf16
2011-08-09 13:16:30 -07:00
Ben Komalo
03bc225d08 Show color chips in account spinner.
Bug: 5011742
Change-Id: I6aa3d24b83ee1378bf30fb8466a52c6787d27277
2011-08-09 11:27:47 -07:00
Ben Komalo
2c4a6855ba Make isInboxList check robust to combined views.
rookie mistake :(

Bug: 5141774
Change-Id: Iafc4907a4717143ccf8251a1fb452e1ff00aa5ff
2011-08-09 10:44:43 -07:00
Ben Komalo
e91ff527ed Update backstack model.
This makes "Inbox" the top level with the mailbox list one level under.
All "up"/"back" navigation is now identical and will take you upwards
towards the inbox before falling off to the launcher.

This uses a kludge and the "backstack" of the activity is not actually
represented now by the mPreviousFragment variable; it just uses tricker
in the onBackPressed()/shouldPopFromBackStack() calls to do the right
thing.

Bug: 5111629
Change-Id: Ide88efc78fe4f40d89b5ab83c480318e81902554
2011-08-08 17:38:21 -07:00
Ben Komalo
ed494cd6bb Fix search styling.
This eliminates the excessive padding on the left and makes the hint
text behave according to the new spec (since it uses the new action view
expanded mode).

A later CL will actually change the item to use the action view
facilities of the framework (so we don't have to manage our own custom
views).

Bug: 5109953
Change-Id: Ia3e4a1e64e65b3b8bb3e708b31636f4186acfd46
2011-08-08 17:16:47 -07:00
Ben Komalo
547cae3c8e Move reply/replyall/forward spinner to actionbar.
Bug: 5126487
Change-Id: I56cd8861d6d616d1c4590f06c6f949cd84e5a42b
2011-08-08 15:17:42 -07:00
Ben Komalo
3fdf92c977 Merge "Move IntentUtils to emailcommon." 2011-08-08 15:15:44 -07:00