Commit Graph

6339 Commits

Author SHA1 Message Date
Ben Komalo
ea73911291 Disable widget creation if there're no accounts
Bug: 4571798
Change-Id: I4b496c12b6c8a2123f9b3d9e28ecf098ca374a74
2011-10-20 21:43:31 -07:00
Marc Blank
0ff0e155c5 Fix findExistingAccount to treat underscore properly
Bug: 2318959
Change-Id: Ia39ed29084dc8111c61ff552fa65519789b7c23a
2011-10-20 18:41:26 -07:00
Eric Fischer
805aca21ec Import revised translations. DO NOT MERGE
Change-Id: Icc57021105a6b95efc34f268e4bf778a75d2de1c
2011-10-20 17:59:44 -07:00
Ben Komalo
2f105a0543 Request focus in field when cc/bcc is toggled.
Bug: 3090788
Change-Id: I184dfe586199af9bcb016f60bf97bcd4382b4f73
2011-10-20 17:26:16 -07:00
Ben Komalo
41495761db Delete stale test.
This test has been disabled for over a year. I call it unnecessary and a
burdern at this point.

Bug: 2938323
Change-Id: I98bd67a0ed3bb1b880a5e7b6bcf8c90b8cf2de46
2011-10-20 16:50:38 -07:00
Ben Komalo
705e1244fb Merge "Fix account creation issues." 2011-10-20 16:49:58 -07:00
Ben Komalo
c5c44eed77 Fix account creation issues.
This is a theoretically dangerous issue that has surfaced only as a
monkey bug so far. The issue is that callers that create an Intent set
some global state, expecting that state to still be valid when the
Intent is handled. However, if the process was killed before the Intent
could be handled, or if that global singleton was not saved properly,
that state was lost and SetupData was never initialized properly.

Bug: 5337276
Change-Id: I6bd08a0dec13f54c7ba8d536ebdc87e6c559c483
2011-10-20 14:08:20 -07:00
Eric Fischer
d6d3a4929d am 46b6a648: (-s ours) Import revised translations. DO NOT MERGE
* commit '46b6a648bf66453b5a86c7dfeaaaa2bd1e0ed7f1':
  Import revised translations.  DO NOT MERGE
2011-10-20 11:34:35 -07:00
Eric Fischer
46b6a648bf Import revised translations. DO NOT MERGE
Change-Id: Ie7cd1694802394129d0b8666209a6718f0f01877
2011-10-20 11:10:35 -07:00
Ben Komalo
2ca9441e8c Update Intent passed to contacts.
Reduce the number of intent keys so that a more compact dialog can be
used.
Bug: 5483848

Change-Id: I4d3da4a2a1480996bb14c5f2698a6530508ba7e7
2011-10-19 12:39:38 -07:00
Marc Blank
a91f33b44b onMove in CachedCursor shouldn't call the underlying cursor's method
Bug: 5472277
Change-Id: Ida5a840d2d27941bb8b548a4d2d985b1082e93b6
2011-10-19 12:33:52 -07:00
Paul Westbrook
06aae17dfb Merge "Fix build" 2011-10-18 17:27:38 -07:00
Paul Westbrook
1aa2a0fce6 Fix build
Change-Id: Id4166d85ef85d10c7d60ba51f386ff5e01abcc79
2011-10-18 17:25:36 -07:00
Eric Fischer
470ed3c4f3 Merge "Import revised translations." 2011-10-18 16:30:21 -07:00
Eric Fischer
1675804839 Import revised translations.
Change-Id: Iadea51bf0544d439b438ea2cabf900684aac69c8
2011-10-18 15:40:14 -07:00
Marc Blank
3285fb3cfd Prevent NPE with badly-timed account deletion
Bug: 5473621
Change-Id: I0956540de0de172bc3519a301598e197b449b9a8
2011-10-18 13:27:30 -07:00
Eric Fischer
c36dcfbdb1 am 401a917d: (-s ours) Import revised translations. DO NOT MERGE
* commit '401a917dbf620e7a84c1fece78e7e80b1f39c496':
  Import revised translations.  DO NOT MERGE
2011-10-18 11:36:21 -07:00
Eric Fischer
401a917dbf Import revised translations. DO NOT MERGE
Change-Id: I6d23d0c5af0db4076a3be6a35e5d94d57beb44e5
2011-10-18 11:10:15 -07:00
Ben Komalo
1bc90d3ed9 Merge "Fix touch interceptions." 2011-10-17 15:20:45 -07:00
Ben Komalo
98c968d178 Fix touch interceptions.
We were unfortunately passing through all touches and never intercepting
events from the message ScrollView. This was desirable when the drag was
over the message content, but in the surrounding chrome it would lead to
pressed states while dragging, sometimes accidentally causing text
selection. This change makes that logic special cased to WebViews only.

Bug: 5361173
Change-Id: Icf535c015cec4a79a5ad7eba3d6c5aa7bd572a8a
2011-10-17 15:05:26 -07:00
Claudia de Veaux
e6c2156cee Restore Wi-Fi spelling.
Bug: 5163232

Change-Id: Ib37b05c3ca85474493546bd2f0bfd720cbffbfe6
2011-10-17 13:09:33 -07:00
Ben Komalo
2e3d46cbde Merge "Fix NPE in move messages" 2011-10-17 10:48:38 -07:00
Ben Komalo
30b49a0098 Merge "Fix widget update to properly refresh." 2011-10-17 10:30:51 -07:00
Ben Komalo
a007d79c3f Fix NPE in move messages
Bug: 5452020
Change-Id: Id8fca21692ad1a70a2114eaa7fec6bcecab6cab6
2011-10-16 18:13:38 -07:00
Ben Komalo
391dfa858a am 7e65b1fc: (-s ours) DO NOT MERGE: Fix hostname verifier for Exchange connections.
* commit '7e65b1fc1dead5256f165d367af30b850e43aec6':
  DO NOT MERGE: Fix hostname verifier for Exchange connections.
2011-10-14 15:43:10 -07:00
Ben Komalo
7e65b1fc1d DO NOT MERGE: Fix hostname verifier for Exchange connections.
When the socketfactory init code was moved, I forgot to re-add in the check
to skip hostname verification. This made "Trust all SSL certificates"
checkbox useless.

Backported from: Ie4cba749aaf8c0fd9f9c43f09ebf354c6600d4f0
Bug: 5450563

Change-Id: Id1c80393d41068e6872ca5d42a3e5888805a3f09
2011-10-14 15:27:30 -07:00
Ben Komalo
561004883d Fix widget update to properly refresh.
Bug: 5413224
Change-Id: Id66c7dc8aac8b5e24c7d5c5b1633c9c3ab981b15
2011-10-14 14:33:27 -07:00
Ben Komalo
1f6769facc Merge "Always pop back to main app from widget." 2011-10-13 16:23:12 -07:00
Ben Komalo
28e496daef Respect system font size in message list.
- This makes dimensions according to scaled font sizes, and also resets
the activity properly (invalidating drawing caches) when that font size
happens.

Bug: 5287961
Change-Id: I04cf117b027befd6a065edeadf95187f62fffc8a
2011-10-13 15:54:14 -07:00
Claudia de Veaux
e3b56df151 Further cleanup of strings to match Gmail.
Bug: 5295455

Change-Id: I67a9a51f057e3d3126871cacf24985f8e66c8d20
2011-10-13 15:01:06 -07:00
Ben Komalo
3532e56591 Always pop back to main app from widget.
Bug: 5445267
Change-Id: I992a8a1c4402ba756787957766e8be3c68e064f8
2011-10-13 11:25:33 -07:00
Ben Komalo
7d1324a6df Merge "Keeps track of "last account used"" 2011-10-13 10:21:06 -07:00
Justin Ho
b3c9f85662 am 90f0dc7e: Updated multiple email notification icon Bug: 5222432
* commit '90f0dc7e3bbcd4eee6abefeca9b454a75eb8144e':
  Updated multiple email notification icon Bug: 5222432
2011-10-13 09:02:03 -07:00
Justin Ho
90f0dc7e3b Updated multiple email notification icon
Bug: 5222432

Change-Id: I20cd30a775db25e8bf0fa1dd4a8592a00a05f53b
2011-10-13 08:53:23 -07:00
Ben Komalo
223267f701 Merge "Fix per account starred mailboxes." 2011-10-12 19:45:12 -07:00
Ben Komalo
513486cfb5 Fix per account starred mailboxes.
We always switched to combined view when we tapped "Starred" in a
mailbox list. This was confusing since tapping to show the mailbox list
will take you to the mailbox list for the combined view, even if there's
only one account on the device! Other confusing things happened like
showing coloured account chips, even if there's only one account.

This fixes it so that we pass the account ID when building the
selection. Lots of wiring to make it happen, but very little change
overall.

Bug: 5388326
Change-Id: I1fe52f211cceca0c1b26581e200f3c7adcd0734a
2011-10-12 19:44:39 -07:00
Ben Komalo
47bf70cf7b Keeps track of "last account used"
This only applies for the main EmailActivity. The compose window still
uses the user-visible setting for "Default account" as the default
account when handling intents like "mailto:" links.

In the future, we should probably just remove that setting, now that we
remember the last account in the reading-email case.

Bug: 4460450
Change-Id: I4b3e7c9e13b7e89320891346383780cd670492ae
2011-10-12 17:16:19 -07:00
Ben Komalo
172d05da23 am 4d3f3f3a: Fix hostname verifier for Exchange connections.
* commit '4d3f3f3ab95c03d4c1ab308801b92ba1d9df2276':
  Fix hostname verifier for Exchange connections.
2011-10-12 14:28:53 -07:00
Ben Komalo
4d3f3f3ab9 Fix hostname verifier for Exchange connections.
When the socketfactory init code was moved, I forgot to re-add in the check
to skip hostname verification. This made "Trust all SSL certificates"
checkbox useless.

Bug: 5450563
Change-Id: Ie4cba749aaf8c0fd9f9c43f09ebf354c6600d4f0
2011-10-12 13:41:59 -07:00
Mindy Pereira
1dd5475ecf Remove styles provided by mailcommon.
Change-Id: I0de3d171fee19e428176b9819e9683c70c1d30d3
2011-10-12 09:30:36 -07:00
Mindy Pereira
186b9a89b5 Update to mail common styles. Also updated compose hint text.
Change-Id: I4851ff148371b17b86bb1364bc0543c7e3c1f99b
2011-10-11 14:50:16 -07:00
Mindy Pereira
6b71a9d9e3 Merge "Use styles in the mailcommon directory for the compose view." 2011-10-11 14:19:08 -07:00
Marc Blank
160bbc8288 Merge "Don't show "mailbox not found" toast on "back"" 2011-10-11 12:59:22 -07:00
Marc Blank
d9cdd88702 Don't show "mailbox not found" toast on "back"
* We'll only show this on a first load of the
  MessageListFragment

Bug: 5396997
Change-Id: I9a93bfd6e2c31d1ed8f75f1ec486da060712dffd
2011-10-11 12:04:11 -07:00
Mindy Pereira
f5ac3c6901 Use styles in the mailcommon directory for the compose view.
Change-Id: Ib14f99355a78bb00aa06c87ae6329940f5d66444
2011-10-11 10:57:57 -07:00
Ben Komalo
2949d48f1d Merge "Up Email version for release." 2011-10-10 15:42:33 -07:00
Mindy Pereira
51c4a901b6 Merge "Move next and manual settings buttons up on the add acct screen." 2011-10-10 14:00:19 -07:00
Mindy Pereira
2bb9b63c2c Move next and manual settings buttons up on the add acct screen.
Fixes bug:5397033 IME overlaps Next button in Add Account screen

Change-Id: Icec368040d1a1f7f02f5c164167f7b5f29c450c9
2011-10-10 13:56:56 -07:00
Ben Komalo
9ac7e04fb7 Up Email version for release.
Bug: 5392379
Change-Id: I6b7082bb12d4f9a9b18064b0933f5ed588af9afe
2011-10-10 11:38:16 -07:00
Mindy Pereira
18601838be Merge "Allow tablet to use different styles than phone for chips fields." 2011-10-10 11:07:33 -07:00