Commit Graph

3677 Commits

Author SHA1 Message Date
Eric Fischer
9580294613 Merge "Import revised translations." 2010-09-24 13:19:57 -07:00
Makoto Onuki
0824439785 Workaround for ListView bug related to smoothScrollToPosition
Hopefully it'll soon be fixed in the framework, but it's blocking what
I want to do now.

Bug 3028455

Change-Id: I43ed059b7766a3bfc29166464bd449d905b207e4
2010-09-24 13:05:55 -07:00
Marc Blank
23f8d3be7d Handle EAS type 1 folders (user-created)
* If a type 1 folder has an mail folder as a parent (at any level),
  it is also a mail folder (and therefore, we should have it in our
  folder list)
* Before rejecting type 1 folders, look for parents and accept those
  that are mail folders
* Add unit test to verify logic

Bug: 2978410
Change-Id: I44cda1d1c1fd7f3976af53a1672736201cc995ff
2010-09-24 12:46:08 -07:00
Eric Fischer
f838cfcba5 Import revised translations.
Change-Id: I0cb6fbfda7fc88d671668e82d0250b625dc9311f
2010-09-24 12:26:33 -07:00
Eric Fischer
841b7ddf79 am 7542efcf: Import revised translations. DO NOT MERGE
Merge commit '7542efcfb8871f032573b24be603bc6f6b27eb62' into gingerbread-plus-aosp

* commit '7542efcfb8871f032573b24be603bc6f6b27eb62':
  Import revised translations.  DO NOT MERGE
2010-09-24 11:09:13 -07:00
Marc Blank
a8ad80ee43 Add CHAR LIMIT to added string
Bug: 3012997
Change-Id: I3426ab2c69b480717082d71bd2abc8d8da3b482c
2010-09-24 11:01:07 -07:00
Eric Fischer
7542efcfb8 Import revised translations. DO NOT MERGE
Change-Id: Ie085ada67c5f6ba290f2b1366550fd7f9ed3462c
2010-09-24 10:24:35 -07:00
Makoto Onuki
4209ea36b0 Make ThrottlingCursorLoader smarter
Now the class initially uses smaller timeout, and expand it when detecting
multiple changes in a short period.

This CL makes the UI look more responsive especially on the message list +
message view mode.  e.g. Starring on the message view will quickly be
reflected to the message list.

Bug 3024799
Bug 3027832

Change-Id: Ie2d44c3769d43e3fd0f54ee526556eb3bad5e288
2010-09-22 18:01:01 -07:00
Makoto Onuki
2dbb510657 Hide bottom buttons when message list enters selection mode
Hide the command buttons at the bottom of the message view when the message
list enters the selection mode.

Change-Id: Id825bb5183673e9def055b6480fa180beab51178
2010-09-22 18:00:21 -07:00
Makoto Onuki
c8fb75035f Implement latest selection mode behavior
On the message list,
- Longpress toggles selection.
- Tap opens message

Now it should be in line with gmail.

Change-Id: I1ce441a13fd9b41e3d7d10c2f2e4d43e580db708
2010-09-22 16:51:30 -07:00
Makoto Onuki
e069246d48 Make sure callback is still registered when calling wrappee
This caused callback methods getting run after onDestroy() problem.

Bug 2799534
Bug 3011802

Change-Id: Id505e328bbff096a9f7474c033443ff6663a5fdf
2010-09-22 15:39:02 -07:00
Makoto Onuki
58843f0dc3 Highlight selected message on message list
Also make sure the highlighted mailbox is always visible on the mailbox list.

MessageListFragment now just uses the default background color, which means
it no longer changes background color for unread messages or checked messages.
This should be re-implemented if necessary with the newer wireframe.

Change-Id: I9bfbe9f0711ea4ab56be27778b00298d3033123b
2010-09-22 14:44:23 -07:00
Marc Blank
793c6639ec am 9b5c615c: am deed4505: Merge "Increase EAS command timeout from 20 to 30 seconds" into gingerbread
Merge commit '9b5c615ceea0270878a5b89fc0a063eeb9ffdd3e'

* commit '9b5c615ceea0270878a5b89fc0a063eeb9ffdd3e':
  Increase EAS command timeout from 20 to 30 seconds
2010-09-22 14:41:29 -07:00
Andy Stadler
bb0b75f452 am a9a55512: (-s ours) am ed824a07: DO NOT MERGE Harden thumbnail creation
Merge commit 'a9a55512551609111e7269b6de70688407da4b2a'

* commit 'a9a55512551609111e7269b6de70688407da4b2a':
  DO NOT MERGE Harden thumbnail creation
2010-09-22 14:41:16 -07:00
Andrew Stadler
0813c7051f resolved conflicts for merge of 0d9ed341 to master
Change-Id: I198f760ef1734cf4a64c875236a2352859dc1a72
2010-09-22 14:37:44 -07:00
Makoto Onuki
b4dacf2acf Don't show only special mailboxes on mailbox list
When a new account has just been set up and the app is still loading
mailboxes, keep the mailbox list empty and let ListFragment show
the progress icon, rather than showing "Combined Inbox" "All Starred" etc
without acutal inboxes, which looks like it's broken.

Change-Id: Ia3de4377b701f0033c5dc92f8b6b14651d4d8e1e
2010-09-22 14:03:06 -07:00
Marc Blank
9b5c615cee am deed4505: Merge "Increase EAS command timeout from 20 to 30 seconds" into gingerbread
Merge commit 'deed4505e9ad11626a8163653def57318b2d7d39' into gingerbread-plus-aosp

* commit 'deed4505e9ad11626a8163653def57318b2d7d39':
  Increase EAS command timeout from 20 to 30 seconds
2010-09-22 13:42:22 -07:00
Marc Blank
deed4505e9 Merge "Increase EAS command timeout from 20 to 30 seconds" into gingerbread 2010-09-22 13:39:46 -07:00
Andy Stadler
a9a5551255 am ed824a07: DO NOT MERGE Harden thumbnail creation
Merge commit 'ed824a07ae8389f1d9fb2214ad91356109b35a05' into gingerbread-plus-aosp

* commit 'ed824a07ae8389f1d9fb2214ad91356109b35a05':
  DO NOT MERGE Harden thumbnail creation
2010-09-22 13:29:22 -07:00
Andy Stadler
ed824a07ae DO NOT MERGE Harden thumbnail creation
* Catch some errors earlier;  Log all errors.

Bug: 2905324
Backport from master: Icdf4ec881f404787a0621e606d7e611d5e50aab1

Change-Id: I817a770da2d158984476cfa2b10a5de6bc0b43f8
2010-09-22 13:24:46 -07:00
Andy Stadler
0d9ed341b2 am 16657c9c: Merge "Fix test failures" into gingerbread
Merge commit '16657c9c201089d480feff0e8938ffbde3ffddde' into gingerbread-plus-aosp

* commit '16657c9c201089d480feff0e8938ffbde3ffddde':
  Fix test failures
2010-09-22 13:23:35 -07:00
Andy Stadler
16657c9c20 Merge "Fix test failures" into gingerbread 2010-09-22 13:18:52 -07:00
Makoto Onuki
250ca15b88 Show MessageList with MessageView, rather than MailboxList
In message view mode, show MessageListFragment on the left pane.

TODO: Highlight opened message on message list
TODO: If the opened message is moved/deleted/starred/etc, update
message view
TODO: Collapsible left pane on portrait

Change-Id: I9b26f7291648da0e08bc526b79305ab65ce4d926
2010-09-22 13:13:59 -07:00
Makoto Onuki
353b75b04b Fix NPE -- check isCancelled in onPostExecute
Bug 3024665

Change-Id: I97c122a6c66a7d4245187961cb90ea874d0e305d
2010-09-22 13:12:13 -07:00
Makoto Onuki
1ef511dafd Merge "Ignore and log OOM during bitmap creation" 2010-09-22 13:10:22 -07:00
Marc Blank
65a10186a5 Increase EAS command timeout from 20 to 30 seconds
Bug: 3027271
Change-Id: Ic58fea147d179ffd18f28a8ce5d290a1b37302ce
2010-09-22 12:45:48 -07:00
Andy Stadler
6278dcdeaf Fix test failures
Methods were used by tests only and being stripped by PG.

Bug: 2894378
Change-Id: Ieb1dd0daa8bd380c66a7b1e6151c5e5b22cbe38c
2010-09-22 12:06:41 -07:00
Andy Stadler
dbcef318e9 am def16a33: (-s ours) am ebba88e4: Merge "DO NOT MERGE disallow longpress in WebView" into gingerbread
Merge commit 'def16a33334bbf2674f7016ae0fab0c679eb5ced'

* commit 'def16a33334bbf2674f7016ae0fab0c679eb5ced':
  DO NOT MERGE disallow longpress in WebView
2010-09-22 12:04:32 -07:00
Andy Stadler
def16a3333 am ebba88e4: Merge "DO NOT MERGE disallow longpress in WebView" into gingerbread
Merge commit 'ebba88e4f4b3dd8001c6e1d2e4c1944aef613795' into gingerbread-plus-aosp

* commit 'ebba88e4f4b3dd8001c6e1d2e4c1944aef613795':
  DO NOT MERGE disallow longpress in WebView
2010-09-22 11:50:52 -07:00
Andy Stadler
ebba88e4f4 Merge "DO NOT MERGE disallow longpress in WebView" into gingerbread 2010-09-22 11:07:34 -07:00
Andrew Stadler
625451ed25 Harden thumbnail creation
* Catch some errors earlier;  Log all errors.

Bug: 2905324
Change-Id: Icdf4ec881f404787a0621e606d7e611d5e50aab1
2010-09-22 09:22:15 -07:00
Marc Blank
eff7bbe72b am d414ba53: (-s ours) am d46952e7: DO NOT MERGE: Test validity of port numbers in account setup
Merge commit 'd414ba537266c539023a242784f5281846360b03'

* commit 'd414ba537266c539023a242784f5281846360b03':
  DO NOT MERGE: Test validity of port numbers in account setup
2010-09-21 20:21:06 -07:00
Marc Blank
d414ba5372 am d46952e7: DO NOT MERGE: Test validity of port numbers in account setup
Merge commit 'd46952e7b0d47a4150d140502caf34e3a5276dd8' into gingerbread-plus-aosp

* commit 'd46952e7b0d47a4150d140502caf34e3a5276dd8':
  DO NOT MERGE: Test validity of port numbers in account setup
2010-09-21 18:24:42 -07:00
Marc Blank
d46952e7b0 DO NOT MERGE: Test validity of port numbers in account setup
Bug: 1712475
Change-Id: Iced4875379a804b5072e4df0af25db7bf9473131
2010-09-21 17:46:15 -07:00
Makoto Onuki
cc3c1d46b9 Merge "Rename misnomered constant" 2010-09-21 17:20:55 -07:00
Makoto Onuki
d7f886c5c8 Ignore and log OOM during bitmap creation
Change-Id: I00ca40d98e425eb267b601cc9049af6ecfd2883d
2010-09-21 17:09:01 -07:00
Marc Blank
a459a3e36a am aa2dd114: (-s ours) am ccfc1c29: Merge "DO NOT MERGE: Don\'t disable account box if sync freq -> "Never"" into gingerbread
Merge commit 'aa2dd11451c6b4b062f90c9a30cbcf825e33fad9'

* commit 'aa2dd11451c6b4b062f90c9a30cbcf825e33fad9':
  DO NOT MERGE: Don't disable account box if sync freq -> "Never"
2010-09-21 16:06:07 -07:00
Marc Blank
c41704df6d am 2a6dbe45: (-s ours) am 6f207f5d: DO NOT MERGE: Interpret "busy" on new events to mean "no response"
Merge commit '2a6dbe456c120edc1a621a89cb93d063490f36b7'

* commit '2a6dbe456c120edc1a621a89cb93d063490f36b7':
  DO NOT MERGE: Interpret "busy" on new events to mean "no response"
2010-09-21 16:00:37 -07:00
Marc Blank
aa2dd11451 am ccfc1c29: Merge "DO NOT MERGE: Don\'t disable account box if sync freq -> "Never"" into gingerbread
Merge commit 'ccfc1c29c2f9fff7ee824d342bde1e5d7138722b' into gingerbread-plus-aosp

* commit 'ccfc1c29c2f9fff7ee824d342bde1e5d7138722b':
  DO NOT MERGE: Don't disable account box if sync freq -> "Never"
2010-09-21 15:58:56 -07:00
Marc Blank
2a6dbe456c am 6f207f5d: DO NOT MERGE: Interpret "busy" on new events to mean "no response"
Merge commit '6f207f5df2a1b4190e5da243fd497dcf168899af' into gingerbread-plus-aosp

* commit '6f207f5df2a1b4190e5da243fd497dcf168899af':
  DO NOT MERGE: Interpret "busy" on new events to mean "no response"
2010-09-21 15:56:04 -07:00
Marc Blank
ccfc1c29c2 Merge "DO NOT MERGE: Don't disable account box if sync freq -> "Never"" into gingerbread 2010-09-21 15:54:01 -07:00
Makoto Onuki
4580c3136d Rename misnomered constant
Change-Id: I8d1024a85ad02ba7ce7ecf22f719cab34bf70307
2010-09-21 15:48:43 -07:00
Marc Blank
6f207f5df2 DO NOT MERGE: Interpret "busy" on new events to mean "no response"
* The meaning of a busy status of "Busy" is uncertain; it could mean
  "Accepted" or "Tentative", depending on whether the event was
  created via OWA/Outlook or EAS
* We have interpreted it as "Accepted", which prevents the user from
  actually accepting the event (as a state change is required for us
  to send updates to the server/organizer)
* This CL changes the behavior such that a newly arriving event with
  a "Busy" status is shown as "No response" in the Calendar, thereby
  allowing the user to pick from any of the three possible options.

Bug: 2811859
Change-Id: I321f714e54e66ee8f40f5e2c00587b98bad71a63
2010-09-21 15:30:57 -07:00
Marc Blank
77259fab1b DO NOT MERGE: Don't disable account box if sync freq -> "Never"
Bug: 2905667
Change-Id: Iec214b0fed093ff39dc70d5d821577bcf15f00ed
2010-09-21 15:25:27 -07:00
Andy Stadler
70880a7f29 DO NOT MERGE disallow longpress in WebView
* This gets very confused by the new text copy logic
* Downside is that copy from received message does not work at all
  (it didn't work anyway).
* Will fix in next release by redesigning MessageView layout and no
  longer wrapping in ScrollView

Bug: 2998892
Change-Id: Icd1219f3c45fd4da9259499e9c8a31ed0d3c4c30
2010-09-21 15:04:27 -07:00
Marc Blank
6c6c38728c Increase EmailServiceProxy timeout for validation attempts
* Use 90 seconds (instead of 45 seconds)

Bug: 3008626
Change-Id: I31258a5fbcca1f489c8bf6fb2ed8f3dcad5d2e26
2010-09-21 13:55:43 -07:00
Makoto Onuki
263ef7ddd4 Small change to MessageViewFragment
resetView() shouldn't kick LoadMessageTask(). (it's not what its name implies)
Added a TODO.

Change-Id: I0523696f3883a905d9732626824efda598bf10ed
2010-09-21 11:25:53 -07:00
Makoto Onuki
0e89a9a640 Merge "Use the default theme for selected mailbox." 2010-09-21 11:24:56 -07:00
Makoto Onuki
cb32904250 am b2999edd: (-s ours) am c6299fc0: Merge "DO NOT MERGE: Fix ANR in one time initializer and unify BroadccastReceivers." into gingerbread
Merge commit 'b2999edd996cb2ba2e12633e0309a16441d90188'

* commit 'b2999edd996cb2ba2e12633e0309a16441d90188':
  DO NOT MERGE: Fix ANR in one time initializer and unify BroadccastReceivers.
2010-09-21 10:56:14 -07:00
Makoto Onuki
509e46f0b4 am 723c21d0: (-s ours) am b3eefca0: DO NOT MERGE: Fix NPE in Controller and MessagingController.
Merge commit '723c21d0b0f972543bfdd3323096ab848ef2619d'

* commit '723c21d0b0f972543bfdd3323096ab848ef2619d':
  DO NOT MERGE: Fix NPE in Controller and MessagingController.
2010-09-21 10:56:10 -07:00