32670 Commits

Author SHA1 Message Date
Ying Wang
41c73077dc Merge "Import translations. DO NOT MERGE" 2012-06-15 14:18:49 -07:00
Amith Yamasani
a0ecfde69e Merge "SearchManagerService made multi-user aware" 2012-06-15 14:15:21 -07:00
Ying Wang
6bb5290e71 Import translations. DO NOT MERGE
Change-Id: I30c668b8d8e2a4da36caa9a34094b697afcc277f
2012-06-15 12:52:08 -07:00
Adam Powell
d1e57d7886 am 15635728: am 27db797e: Merge "Update MediaRouteChooserDialog grouping UI" into jb-dev
* commit '15635728a4ff00da6cc3d6468c02d39e5631f124':
  Update MediaRouteChooserDialog grouping UI
2012-06-15 11:57:26 -07:00
Adam Powell
15635728a4 am 27db797e: Merge "Update MediaRouteChooserDialog grouping UI" into jb-dev
* commit '27db797e37ea16ea5db6eb3f6a32e0f116c1b824':
  Update MediaRouteChooserDialog grouping UI
2012-06-15 11:54:42 -07:00
Adam Powell
27db797e37 Merge "Update MediaRouteChooserDialog grouping UI" into jb-dev 2012-06-15 11:52:10 -07:00
Amith Yamasani
5bb87cd9b8 SearchManagerService made multi-user aware
Cache Searchables per user and query package manager through the
private interface.

Change-Id: I1d24fdd27cce8c27be45287cbfcb4df1e2ce2cf1
2012-06-15 10:24:47 -07:00
John Reck
c0c66d33a8 Merge "Remove unused" 2012-06-15 09:38:07 -07:00
Adam Powell
b5e2af5919 Update MediaRouteChooserDialog grouping UI
Move UserRouteInfo tag support to RouteInfo

Change-Id: Ia753924f8613462d5f74736be93a8d748689eef1
2012-06-15 00:11:34 -07:00
Jeff Brown
84ce6565b0 am 655410e7: am 5c74bca4: Merge "Synthesize fake vsyncs when the screen is off." into jb-dev
* commit '655410e7b3c79bb705aaba0bdfc77ecdaa25d4ca':
  Synthesize fake vsyncs when the screen is off.
2012-06-14 21:34:39 -07:00
Jeff Brown
655410e7b3 am 5c74bca4: Merge "Synthesize fake vsyncs when the screen is off." into jb-dev
* commit '5c74bca49a48c3316aca9fed00d287cb8cbc2be4':
  Synthesize fake vsyncs when the screen is off.
2012-06-14 21:32:36 -07:00
Jeff Brown
5c74bca49a Merge "Synthesize fake vsyncs when the screen is off." into jb-dev 2012-06-14 21:30:49 -07:00
Matthew Xie
3199209c92 am 8607127d: am 839734bb: Merge "Handle ENITR failure for Headset control channel." into jb-dev
* commit '8607127d8bd9bf87cce9dde5451c926a14548bfd':
  Handle ENITR failure for Headset control channel.
2012-06-14 20:33:56 -07:00
Jeff Brown
858491ba13 Synthesize fake vsyncs when the screen is off.
When the screen is off, we might not receive real vsync pulses from
the hardware which would cause posted Choreographer callbacks to not run.
This is bad because messages in the Looper might be blocked behind a barrier
that is scheduled to be removed by one of those Choreographer callback
(see ViewRootImpl.doTraversals).  Until the barrier is removed, those messages
will not run.  To prevent starvation of the Looper, we synthesize fake vsync
pulses at a reduced rate whenever the display hardware stops generating them.

This change should fix a variety of rare non-deterministic bugs where
the system might appear to be unresponsive while the screen is off,
and spurious ANRs reported shortly after the screen is turned back on.

Bug: 6574842
Bug: 6636995
Bug: 6643559
Change-Id: I263f2fdf979afd79e5ac47a0cc5d34a93b860c21
2012-06-14 20:33:42 -07:00
Matthew Xie
8607127d8b am 839734bb: Merge "Handle ENITR failure for Headset control channel." into jb-dev
* commit '839734bbe502c876237a0473823b606803051825':
  Handle ENITR failure for Headset control channel.
2012-06-14 20:31:15 -07:00
Matthew Xie
839734bbe5 Merge "Handle ENITR failure for Headset control channel." into jb-dev 2012-06-14 20:28:46 -07:00
Matthew Xie
be513afb62 Handle ENITR failure for Headset control channel.
Wrap poll and read with TEMP_FAILURE_RETRY
bug 6503000, 6623444

Change-Id: I2e302dc04df6b5bd5982c3d189881a687a95fb2d
2012-06-14 20:08:40 -07:00
Adam Powell
2f115bc007 am 13b5c194: am 90b9f84c: Merge "API updates for MediaRouter" into jb-dev
* commit '13b5c194e1ca2ed5ca9187e15ca0518b8bb052d2':
  API updates for MediaRouter
2012-06-14 18:30:55 -07:00
Svetoslav Ganov
9bec724d90 am 42fb511f: am 2657a59f: Merge "Add support for NEXT_HTML_ELEMENT to WebViewClassic." into jb-dev
* commit '42fb511f1b5dd399bda3cd9fb3896bfe428a7837':
  Add support for NEXT_HTML_ELEMENT to WebViewClassic.
2012-06-14 18:30:42 -07:00
Adam Powell
13b5c194e1 am 90b9f84c: Merge "API updates for MediaRouter" into jb-dev
* commit '90b9f84c43145c51180c7253cd3a3f59862c2611':
  API updates for MediaRouter
2012-06-14 17:58:05 -07:00
Adam Powell
90b9f84c43 Merge "API updates for MediaRouter" into jb-dev 2012-06-14 17:51:27 -07:00
Svetoslav Ganov
42fb511f1b am 2657a59f: Merge "Add support for NEXT_HTML_ELEMENT to WebViewClassic." into jb-dev
* commit '2657a59f54e316ca11d7d9adf648e7001960f469':
  Add support for NEXT_HTML_ELEMENT to WebViewClassic.
2012-06-14 17:22:24 -07:00
Svetoslav Ganov
2657a59f54 Merge "Add support for NEXT_HTML_ELEMENT to WebViewClassic." into jb-dev 2012-06-14 17:19:54 -07:00
John Reck
c0dc36d19e Remove unused
Change-Id: If75de601f2fcf6309897f2005d505082e8cd4934
2012-06-14 17:19:27 -07:00
Svetoslav Ganov
6df7343222 am b6b2af3c: am 9add5654: Merge "AccessibilityInjector should return false on a failed action." into jb-dev
* commit 'b6b2af3cd182141030d6ffa8540d99058978e2d8':
  AccessibilityInjector should return false on a failed action.
2012-06-14 17:09:00 -07:00
Jeff Brown
04ddf3c050 Allow applications to recover from IME related ANRs.
Timeout after 2.5 seconds.

Because communication with an IME occurs asynchronously
using oneway binder calls, it's possible for an input event
that was delegated to the IME to be dropped on the floor.
When this happens, the app (not the IME!) will get blamed
for the problem and will ANR forever.

Even if an event is not dropped on the floor, we should
eventually time out event dispatch to the IME if it's
being too slow.

This patch implements a timeout on all events delegated
to the IME.  When the timeout expires, the event is marked
as having not been handled by the IME and the application
gets a crack at it.  We also write a message to the log when
this occurs.

Ensure that we do not invoke the event finished callback
while holding the InputMethodManager's lock to avoid
potential deadlocks.

Fixed a minor bug where the InputMethodManager would not
remember the id of the current input method.  This caused
the log messages and dumpsys state to print "null" as the
current input method id.

Bug: 6662465
Change-Id: Ibb3ddeb087ee6998996b0b845134e16a18aa3057
2012-06-14 16:32:12 -07:00
Adam Powell
0d03c042f9 API updates for MediaRouter
* Accept a Context when fetching the names of routes and
  categories. This lets string resources resolve at time of access
  with the correct configuration. The older versions remain available
  that will use the static resources from the application. (There are
  enough cases where applications will populate this from external
  data that requiring it each time even when it was not initialized
  from a resource doesn't seem reasonable.)

* Remove the ability for apps to programmatically select non-user
  routes.

* Make MediaRouter.Callback an abstract class instead of an interface.
  This will make further extensions easier to keep compatible in the
  future.

Change-Id: If981c511dfbdfaf41ef0d1cfe4a377fc14bb5600
2012-06-14 16:16:31 -07:00
George Mount
33dea30bf0 am 0777558f: Merge "DO NOT MERGE Respect the "Make password visible" setting." into jb-dev
* commit '0777558f0365d8020693109118bd92994b0ec8b1':
  DO NOT MERGE Respect the "Make password visible" setting.
2012-06-14 16:16:07 -07:00
George Mount
0777558f03 Merge "DO NOT MERGE Respect the "Make password visible" setting." into jb-dev 2012-06-14 16:14:16 -07:00
John Reck
dcd3f3757c Merge "Fix doc link" 2012-06-14 15:57:18 -07:00
John Reck
f2361156c4 Fix doc link
Change-Id: I5d2e6f04ed0ece6bf66b0b969c345108a1d372c5
2012-06-14 15:54:59 -07:00
alanv
8bab6de6e2 Add support for NEXT_HTML_ELEMENT to WebViewClassic.
Bug: 6663344
Change-Id: Ieb48998e3af12916fe499a12d5bf7a767df8d05b
2012-06-14 15:24:19 -07:00
Svetoslav Ganov
b6b2af3cd1 am 9add5654: Merge "AccessibilityInjector should return false on a failed action." into jb-dev
* commit '9add56546b1a5ddbf54f058f2ddb807a0ca02dff':
  AccessibilityInjector should return false on a failed action.
2012-06-14 15:16:54 -07:00
Svetoslav Ganov
9add56546b Merge "AccessibilityInjector should return false on a failed action." into jb-dev 2012-06-14 15:14:14 -07:00
George Mount
89654a8f69 DO NOT MERGE Respect the "Make password visible" setting.
Bug 6667146

 Webkit Change: I95ffcfa6fa47baad60b1af55f84bee35dfcc7972

Change-Id: I7fc107b02f73f4c54e8fe66484038ea9d7b69d61
2012-06-14 15:10:09 -07:00
George Mount
e579f4b781 Merge "Respect the "Make password visible" setting." 2012-06-14 15:08:07 -07:00
Romain Guy
01b76dcbdd am 06116b08: am a989b334: Merge "Don\'t create a giant layer for all notifications Bug #6642475" into jb-dev
* commit '06116b08dad51923672dde2d884baf0e0dc70d2e':
  Don't create a giant layer for all notifications Bug #6642475
2012-06-14 14:51:30 -07:00
Romain Guy
06116b08da am a989b334: Merge "Don\'t create a giant layer for all notifications Bug #6642475" into jb-dev
* commit 'a989b334fd097114ce1016ce1668597a213a441c':
  Don't create a giant layer for all notifications Bug #6642475
2012-06-14 14:46:35 -07:00
John Reck
e526f14e3b Merge "Show WebView layers in hierarchyviewer" 2012-06-14 14:42:40 -07:00
Romain Guy
a989b334fd Merge "Don't create a giant layer for all notifications Bug #6642475" into jb-dev 2012-06-14 14:32:07 -07:00
Romain Guy
54ab347fdd Don't create a giant layer for all notifications
Bug #6642475

When expanding the status bar, create one layer per notification instead of
a single giant layer for the pile of notifications. This prevents layer
creation failure when the total height of the notifications is larger
than the maximum allowed texture size in OpenGL ES 2.0.

This change only enables layers on notifications that will be visible
once the notification area is fully expanded.

Change-Id: I3c791a66cf5ac0973f3a65cfcd84b95209d580f3
2012-06-14 14:25:08 -07:00
George Mount
94c1d843cb Respect the "Make password visible" setting.
Bug 6667146

 Webkit Change: I95ffcfa6fa47baad60b1af55f84bee35dfcc7972

Change-Id: I7fc107b02f73f4c54e8fe66484038ea9d7b69d61
2012-06-14 14:08:56 -07:00
John Reck
926cf56676 Show WebView layers in hierarchyviewer
Change-Id: I373e084d236baafe17982cfc367d167b81ca3e20
2012-06-14 14:01:20 -07:00
Tsu Chiang Chuang
e446e6c9fd Merge "Clean up host tests that have been moved to TF." 2012-06-14 12:26:50 -07:00
Eric Fischer
eb02d40c6d am 97c11fe3: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit '97c11fe3255dca23dad241bf7025a88a7336f4a1':
  Import translations. DO NOT MERGE
2012-06-14 12:22:57 -07:00
Eric Fischer
2b82881f55 Merge "Import translations. DO NOT MERGE" 2012-06-14 12:21:21 -07:00
Eric Fischer
97c11fe325 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-06-14 12:20:40 -07:00
Eric Fischer
b8797dc73d Import translations. DO NOT MERGE
Change-Id: I98a55c3050008b3b7afa8fec7807088d57cfe0c6
2012-06-14 12:18:48 -07:00
Eric Fischer
f9de23bad3 Import translations. DO NOT MERGE
Change-Id: I561c60ea1ff93ae79414331242232bccfc820679
2012-06-14 12:10:43 -07:00
Jason Simmons
b25f48f2be am 1d28fef9: Stop any running DHCP client before bringup up an Ethernet interface
* commit '1d28fef92e516b0144d7844413194ba9e953b317':
  Stop any running DHCP client before bringup up an Ethernet interface
2012-06-14 11:54:43 -07:00