Commit Graph

23926 Commits

Author SHA1 Message Date
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
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
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
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
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
Jason Simmons
1d28fef92e Stop any running DHCP client before bringup up an Ethernet interface
If the system server is restarted, the dhcpcd_eth0 service may have already
been started by the previous system server, and the new system server's
attempts to start the dhcpcd will do nothing.

Change-Id: Icfd480a5369eb9c7dfe86b43190294871a915529
2012-06-14 11:44:09 -07:00
Matthew Xie
61c0fc41e1 DO NOT MERGE - cherry pick a Bluetooth property fix from master
Check nullpointer of discoverableTimeout in initBluetoothAfterTurningOn.

When we fail to get the property, print out warning message, turn
Discoverable off.
Bug 6302990

Change-Id: Ie21aa2a89050c74d99d9ee521a95ffa822114757
2012-06-14 11:44:06 -07:00
Jeff Brown
2c89d171fa am fc959a38: am 9e197141: Merge "Add new ASSIST key and map it to the global assist intent." into jb-dev
* commit 'fc959a389564f2ffef9c4ceba0b1ff119dd53933':
  Add new ASSIST key and map it to the global assist intent.
2012-06-14 11:40:10 -07:00
Jeff Brown
fc959a3895 am 9e197141: Merge "Add new ASSIST key and map it to the global assist intent." into jb-dev
* commit '9e197141f8249e36d3f19aeda332ae40dac7da05':
  Add new ASSIST key and map it to the global assist intent.
2012-06-14 11:33:31 -07:00
Jeff Brown
9e197141f8 Merge "Add new ASSIST key and map it to the global assist intent." into jb-dev 2012-06-14 11:28:52 -07:00
Fabrice Di Meglio
7fbede44ed am 99745c01: am 15c9c614: Merge "Fix bug #6661824 Hebrew Text can be clipped" into jb-dev
* commit '99745c01797c34ce7ca76640deab09fc728aee4e':
  Fix bug #6661824 Hebrew Text can be clipped
2012-06-14 11:10:13 -07:00
Fabrice Di Meglio
99745c0179 am 15c9c614: Merge "Fix bug #6661824 Hebrew Text can be clipped" into jb-dev
* commit '15c9c6141a00cd91290928bce742a2ae6761aca2':
  Fix bug #6661824 Hebrew Text can be clipped
2012-06-14 11:05:25 -07:00
Fabrice Di Meglio
15c9c6141a Merge "Fix bug #6661824 Hebrew Text can be clipped" into jb-dev 2012-06-14 10:50:36 -07:00
Daniel Sandler
185951004e am cb629f38: am 4365d066: Merge "Remove line3 in big notification unless there\'s text to show." into jb-dev
* commit 'cb629f38008ad4f48a956a8d74daa65eff351a75':
  Remove line3 in big notification unless there's text to show.
2012-06-14 10:33:30 -07:00
John Reck
1cc2374f28 am d6bcfeb5: am d54d7cfe: Merge "Call WebView.performLongClick instead of performLongClick()" into jb-dev
* commit 'd6bcfeb5e9bd5d198d81d48bf817e7f028e4e384':
  Call WebView.performLongClick instead of performLongClick()
2012-06-14 10:33:03 -07:00
Adam Powell
cf815b56bf am 6c143590: am 4b4a947b: Merge "MediaRouter dialog" into jb-dev
* commit '6c14359074ff5a93695ed37083c9178a4ca2d1f1':
  MediaRouter dialog
2012-06-14 10:32:49 -07:00
Winson Chung
58c35bbe34 Merge "Updating AppWidgetHost to receive a callback when any appWidget has changed. (Bug 6602951)" 2012-06-14 10:30:34 -07:00
Jeff Brown
de7a8ead24 Add new ASSIST key and map it to the global assist intent.
Moved some duplicate code from SearchPanelView and LockScreen
over to SearchManager to avoid creating yet another copy of it
in PhoneWindowManager.

Bug: 6594275
Change-Id: Ib4ebcd6817639d17548952ab2ce7cb876c05777c
2012-06-14 04:16:26 -07:00
Svetoslav Ganov
d8058ca556 AccessibilityInjector should return false on a failed action.
1. AccessibilityInjector was returning true even if the underlying
   JavaScript was not loaded/failed. This may lead to TalkBack getting
   stuck in a web view. To avoid this TalkBack requires gran1ularity
   change when getting into web view. This is neither advertised nor
   shown in the tutorial and which is worse it is inconsistent with
   the traversal of the app.

   Now if the action fails, false is returned and also the timeout for
   handling the action request is increased to 5s. Upon the completion
   of this timeout TalkBack may decide to show a wait dialog or just
   skip the web content. We are treating this as an ANR.

bug:6663344

Change-Id: Idf3d08fe928c495bb974a127f853de6f938e2f77
2012-06-13 20:26:48 -07:00
Daniel Sandler
cb629f3800 am 4365d066: Merge "Remove line3 in big notification unless there\'s text to show." into jb-dev
* commit '4365d066e8beed17b61ba51c728d60a9baa499be':
  Remove line3 in big notification unless there's text to show.
2012-06-13 18:03:40 -07:00
Daniel Sandler
4365d066e8 Merge "Remove line3 in big notification unless there's text to show." into jb-dev 2012-06-13 18:00:56 -07:00
Fabrice Di Meglio
8d44fff7e6 Fix bug #6661824 Hebrew Text can be clipped
- use the correct ellipsis char in both measurement and rendered string

Change-Id: Ia00285fc16da528f18702719026503b5d0610642
2012-06-13 15:54:55 -07:00
Winson Chung
7fbd28438c Updating AppWidgetHost to receive a callback when any appWidget has changed. (Bug 6602951)
Change-Id: I76d688b10ee7775b4ebe81259713f2aaf0009d05
2012-06-13 15:29:19 -07:00
John Reck
d6bcfeb5e9 am d54d7cfe: Merge "Call WebView.performLongClick instead of performLongClick()" into jb-dev
* commit 'd54d7cfec7bcfd4fa84dcf686071cc5e9b599522':
  Call WebView.performLongClick instead of performLongClick()
2012-06-13 15:02:48 -07:00
John Reck
d54d7cfec7 Merge "Call WebView.performLongClick instead of performLongClick()" into jb-dev 2012-06-13 14:59:13 -07:00
Adam Powell
6c14359074 am 4b4a947b: Merge "MediaRouter dialog" into jb-dev
* commit '4b4a947b5e4913d7f8b7df15d3a7cdf8f343471f':
  MediaRouter dialog
2012-06-13 14:05:24 -07:00
Adam Powell
70e11e50ee MediaRouter dialog
Add the dialog behavior for MediaRouteActionProvider/MediaRouteButton.

Still TODO:

* Switch audio icon based on source; speaker/bt/user

* Rig up volume slider

* Rig up item icons

* Rig up group button for groupable categories

* Make grouping work

Change-Id: I3f992516b184d5ae940ddb7bbb7f94ff58914589
2012-06-13 11:42:10 -07:00
John Reck
a8ae3e94c4 Call WebView.performLongClick instead of performLongClick()
Bug: 6656538
 Due to the WebView/WebViewClassic refactor we need to call
 WebView.performLongClick instead of performLongClick directly
 to allow subclasses to override performLongClick

Change-Id: I9b580217fbafc82d03e63eabfdda9f5bad98db0f
2012-06-13 10:58:34 -07:00
Chris Craik
14584f1b6d am 06d6204a: am d772c487: Merge "Fix attachFunctor path to ignore delay" into jb-dev
* commit '06d6204a2ea7dd263b718018dbb81a88b9a516d5':
  Fix attachFunctor path to ignore delay
2012-06-13 10:49:02 -07:00
Chris Craik
06d6204a2e am d772c487: Merge "Fix attachFunctor path to ignore delay" into jb-dev
* commit 'd772c4878e2207795e92b26a462fd02bca7e3c2e':
  Fix attachFunctor path to ignore delay
2012-06-13 10:43:19 -07:00
Chris Craik
d772c4878e Merge "Fix attachFunctor path to ignore delay" into jb-dev 2012-06-13 10:34:59 -07:00
Daniel Sandler
916ad91c38 Remove line3 in big notification unless there's text to show.
If you have no subText or summaryText in a big template, but
you *do* have a number, the overflow bar (below the big text
or inbox or whatever) would have shown; now it does not.

Bug: 6657006
Change-Id: Ib2af2712da3a98227bd8d697560893adbdc427e9
2012-06-13 12:17:07 -04:00
Daniel Sandler
eb859df3f9 am e63d952a: am 7d2e8960: Merge ""Two actions ought to be enough for anybody."" into jb-dev
* commit 'e63d952a9294c1257598edc13b3457b7a0d81e63':
  "Two actions ought to be enough for anybody."
2012-06-13 07:14:31 -07:00
Daniel Sandler
e63d952a92 am 7d2e8960: Merge ""Two actions ought to be enough for anybody."" into jb-dev
* commit '7d2e8960d0fcebf924c60dbd0f6934368ceb80e3':
  "Two actions ought to be enough for anybody."
2012-06-13 07:10:03 -07:00
Daniel Sandler
7d2e8960d0 Merge ""Two actions ought to be enough for anybody."" into jb-dev 2012-06-13 07:07:02 -07:00
Jeff Sharkey
554259fe02 am 9eabf916: am f6f7f1d2: Low disk space string change, surface state.
* commit '9eabf916dc5d53bc6c765d39cca0847993e73dcf':
  Low disk space string change, surface state.
2012-06-12 18:40:24 -07:00
Jeff Sharkey
9eabf916dc am f6f7f1d2: Low disk space string change, surface state.
* commit 'f6f7f1d2dc6e8fad5d6ff9a56af9929488873b4f':
  Low disk space string change, surface state.
2012-06-12 18:36:07 -07:00
Amith Yamasani
b8151ecd6e Add an icon to the user information.
Store the icon in the user folder under /data/system,
similar to how the wallpaper is stored.

Change-Id: Id8ccb55b9e2ba7b4c557505a7f69f04eca1518cf
2012-06-12 18:18:29 -07:00
Chris Craik
cb82b942c8 Fix attachFunctor path to ignore delay
Don't defer functor invocation when calling attach functor directly.

bug:6653638

Change-Id: Ifffc027df16612f380f39b82b7d0a4411d53b4ea
2012-06-12 17:55:18 -07:00
Jeff Sharkey
f6f7f1d2dc Low disk space string change, surface state.
Surface current low disk state through IPackageManager for use in
Settings app.

Bug: 6576409
Change-Id: I9ae9ce99a2faa3015a237036c03567d1ae11628f
2012-06-12 17:12:08 -07:00