Commit Graph

6172 Commits

Author SHA1 Message Date
Ben Komalo
1c4b62a0ed Merge "Always update adapter's cursor." 2011-10-03 17:15:11 -07:00
Marc Blank
35d92429af Merge "Enforce "auto-sync app data" setting for POP3/IMAP" 2011-10-03 14:21:04 -07:00
Ben Komalo
1259ba0258 Merge "Don't touch views in the background." 2011-10-03 13:55:40 -07:00
Ben Komalo
5aedd25869 Always update adapter's cursor.
In cases where the account gets removed, we accidentally hold a stale
cursor. This leaves a ticking bomb, which generally explodes when the
list tries to save state.

Bug: 5367199
Change-Id: Ibcd0c281c9668778f7d1d2abba472ffff8b22879
2011-10-03 13:53:24 -07:00
Eric Fischer
151037ec33 Import revised translations.
Change-Id: I0560d5aa478c7878a67e3047237d39a05676768e
2011-10-03 13:42:00 -07:00
Marc Blank
faf9ecc992 Enforce "auto-sync app data" setting for POP3/IMAP
* We were using the deprecated ConnectivityManager for this; we should now be
  using the setting in ContentResolver
* Also, remove broadcast receiver code that is no longer relevant

Bug: 5405352
Change-Id: I985a95071aea92d235a2708925f775b817ba2328
2011-10-03 13:05:24 -07:00
Ben Komalo
d75ac0d357 Don't touch views in the background.
Bug: 5404366
Change-Id: I8aca89c032db41aaf95d3a94dc8047fbacbd47a9
2011-10-03 12:58:58 -07:00
Eric Fischer
1d8302e88b Merge "Restore deleted string still referenced from layout." 2011-09-30 15:53:15 -07:00
Eric Fischer
ec475fd6fb Restore deleted string still referenced from layout.
Change-Id: Ie2a009bf0ae3c5a41ae7dad455ab8a65f74ff3d6
2011-09-30 15:48:53 -07:00
Marc Blank
71c9683087 Improve policy logging
Change-Id: I023b7c5302ea00ab77edd697009fb00544951a80
2011-09-30 15:00:25 -07:00
Ben Komalo
b19a76c452 Don't show move to dialog until data is ready.
The data is usually really quick, but it's enough to cause it to flicker
if we set it with an empty adapter first.

Bug: 5087874
Change-Id: I2fc37751edcaa8ffeee144b85417b48e94b4ba4f
2011-09-29 13:50:32 -07:00
Ben Komalo
0dc7886f47 Merge "Make draft loading happen on serial executor" 2011-09-29 11:57:12 -07:00
Ben Komalo
84f67edb03 Merge "Hide attachment progress bar on complete." 2011-09-29 11:12:43 -07:00
Ben Komalo
fb83cef9ad Hide attachment progress bar on complete.
Also fix up styles to (mostly) match mocks and be consistent
with Gmail

Bug: 5205957
Change-Id: Iea7e9706464a8050255a7be78fca471cb7f9f6cf
2011-09-28 17:41:30 -07:00
Eric Fischer
e1d417274b am ee48894d: (-s ours) Import revised translations. DO NOT MERGE.
* commit 'ee48894dfda0c60661cffb117434ab9f4d3222ad':
  Import revised translations.  DO NOT MERGE.
2011-09-28 17:01:08 -07:00
Eric Fischer
ee48894dfd Import revised translations. DO NOT MERGE.
Change-Id: I805a9b5d9143ae1a2917406d3fca2893c680d17a
2011-09-28 16:34:42 -07:00
Ben Komalo
8f56f41a07 Merge "Prefill account names." 2011-09-28 14:52:08 -07:00
Ben Komalo
b3a72b51dd Prefill account names.
- default to e-mail address for account description
- try to use the phone's profile info for the user name

Bug: 5369190
Change-Id: I01cb567f31999bce79426eee58de8fbbc09e344d
2011-09-28 14:43:08 -07:00
Marc Blank
c82c1caf01 Include external storage in remote wipe
* Apparently, this is required via Microsoft specifications, though
  there had been an earlier decision not to do this

Bug: 5384246
Change-Id: I05b6c2d21d3b295ad696f26a7a13cba6f1974e83
2011-09-28 09:41:44 -07:00
Mindy Pereira
ccfff56cd8 Merge "Fixup the styles for chips fields." 2011-09-27 10:12:41 -07:00
Ben Komalo
5fc0aa79f6 Make draft loading happen on serial executor
This fixes an issue where it loads drafts too quickly on orientation
change (and a previous save has not completed). The save was explicitly
put on the serial executor for this reason, but the load task was
missed. whoops.

Bug: 5361711
Change-Id: Ic764e15deb7cd8b88fa4f87e7cbdf435d7d79c80
2011-09-26 18:22:19 -07:00
Ben Komalo
26655e14a1 Restore accidentally nuked visibility attribute
oops.

Bug: 5376236
Change-Id: Id11a9996eef0d6e7789a65c5aced4e5cef0083ce
2011-09-26 18:18:45 -07:00
Ben Komalo
112f39692c Merge "Fix "always show pictures"" 2011-09-26 15:59:03 -07:00
Ben Komalo
3432bdb757 Fix focus behavior in setup screens.
- properly put actionNext on most fields
- make sure actionDone doesn't do funky things with focus so that a
non-editable field gets focus. we may want to consider not making this
focusable in the future.

Bug: 5367827
Change-Id: I4e7bb13801d96a4f1e6fd02a2d43713200738b18
2011-09-26 15:49:01 -07:00
Ben Komalo
5bcb32a0d3 Fix "always show pictures"
- stopped using the confusing checkmark
- consolidated tablet/phone view - removed some needless views

Bug: 5224399
Change-Id: I944459881f04bf1103db98bb15a597bdfcc07cd9
2011-09-26 15:47:09 -07:00
Mindy Pereira
92922ea4a4 Provide an empty constructor for orientation changes.
Fixes bug:5369868 Email crash while changing orientation when there is a security exception pop-up

Change-Id: I8fc530c994d5015cb76039d2f309d98ed2c3761f
2011-09-26 11:16:39 -07:00
Mindy Pereira
17b261421c Fixup the styles for chips fields.
Change-Id: I579b2beafc753f7aea8af4bc4bdd6360ef074744
2011-09-26 09:58:45 -07:00
Eric Fischer
f523c250cf am fe72db63: (-s ours) Import revised translations. DO NOT MERGE
* commit 'fe72db633d9fbafcecff58a8790ca29f6045213c':
  Import revised translations.  DO NOT MERGE
2011-09-23 15:42:18 -07:00
Eric Fischer
fe72db633d Import revised translations. DO NOT MERGE
Change-Id: Ic2d625c7226755eb45c3cf406cb66cf04b44b051
2011-09-23 15:25:14 -07:00
Marc Blank
b9b6ce1d36 Don't show -1 as a search result count
* We'll show zero in this case

Bug: 5361745
Change-Id: Id969fa9895520382de11a47a302792d3431e451c
2011-09-23 11:19:47 -07:00
Ben Komalo
0c56eedae5 Merge "Try to avoid cases when we flicker "No messages"" 2011-09-21 17:19:16 -07:00
Ben Komalo
075817ff68 Try to avoid cases when we flicker "No messages"
Bug: 5205196
Change-Id: Ide4b9ebc02c294ee3c031cc0b69ecba32877e2eb
2011-09-21 15:03:41 -07:00
Ben Komalo
8506afff28 Avoid building/rebuilding the action tabs.
Doing this on a tab callback confuses the action bar rendering.

Bug: 5288508
Change-Id: Ifbba2c2a30f5def04ec36ea2395c0d6da2bdf00d
2011-09-21 13:06:40 -07:00
Marc Blank
4fde113af6 Merge "Fix oopsie on startup with no accounts" 2011-09-20 18:04:53 -07:00
Marc Blank
2fa301710f Fix oopsie on startup with no accounts
Bug: 5208939
Change-Id: Ia001dcacdb1dd014bdc480432d1eb7cbf7f56454
2011-09-20 17:36:17 -07:00
Eric Fischer
f9e94326e5 am 70be5751: (-s ours) Import revised translations. DO NOT MERGE
* commit '70be575180f40ea93d9b11bd0fcbd71ef8a7fb96':
  Import revised translations.  DO NOT MERGE
2011-09-20 15:38:38 -07:00
Eric Fischer
70be575180 Import revised translations. DO NOT MERGE
Change-Id: Ia54eda1a0d2091ceb9e9881fe03da9c91af9c92b
2011-09-20 15:21:52 -07:00
Ben Komalo
d6bd622299 Merge "Prevent flicker in opening Email." 2011-09-20 13:50:15 -07:00
Eric Fischer
ae2da18705 Merge "Import revised translations." 2011-09-20 10:56:21 -07:00
Eric Fischer
248873e974 Import revised translations.
Change-Id: Iab34fcbbf615d2a7c89eacb36fd43bd86ffa2b28
2011-09-20 10:28:56 -07:00
Ben Komalo
02774840d0 Merge "UI improvements to cert selection" 2011-09-19 16:52:08 -07:00
Ben Komalo
002a1802ca Prevent flicker in opening Email.
Welcome had some assumptions that some things had to be done
asynchronously, such as checking inbox status.
This can now be done on the UI thread and so transition into Email can
be done immediately in onCreate, except if there's reconciliating to
be done

Bug: 4599569
Change-Id: Iaaac21e73c985c60e1b7974fb0429948b35968e4
2011-09-19 16:50:07 -07:00
Eric Fischer
f0cd9fa049 am 035ded8f: (-s ours) Import revised translations. DO NOT MERGE
* commit '035ded8f652492da9a299a5a1ddcac31296b4c93':
  Import revised translations.  DO NOT MERGE
2011-09-16 16:22:08 -07:00
Eric Fischer
035ded8f65 Import revised translations. DO NOT MERGE
Change-Id: I84f1a21d9d67248753089ed09d0db8eb1bf396cc
2011-09-16 15:29:04 -07:00
Ben Komalo
51dc9593bb UI improvements to cert selection
Bug: 5286334
Change-Id: I2c6184740364ae60f9df81119c11479e142f63c3
2011-09-16 11:14:10 -07:00
Ben Komalo
3415be2078 Merge "Minor cleanups to message list item rendering." 2011-09-15 17:56:19 -07:00
Ben Komalo
ba0008b669 Minor cleanups to message list item rendering.
- cached font colors
- cached date layouts
- remove unneeded text size sets
- change layout flow to be using standard layout mechanisms

Bug: 5186135
Change-Id: I9c6a659ef50b9e37a51e2463fe2bdf01974291b7
2011-09-15 15:53:01 -07:00
Marc Blank
ec563455f4 Merge "Handle internal push states when showing sync interval" 2011-09-15 14:47:30 -07:00
Marc Blank
a49da87191 Handle internal push states when showing sync interval
* We turn them into "push", which is the external representation
  of those states (ping and push/hold)

Bug: 5327559
Change-Id: I843f37e4619f1c33cdafbf8a3a6a39abb8e8834c
2011-09-15 14:23:24 -07:00
Mindy Pereira
77dec76f9f Make action bar unread count more delicate.
Fixes bug:5321740 Bold numbers in headers of Mail, Gmail, Talk, etc look out of place with our new delicate clock fonts

Change-Id: I029b8db25a9ed40d868e24a00670a70523d2711a
2011-09-15 11:58:51 -07:00