Commit Graph

31636 Commits

Author SHA1 Message Date
Kristian Monsen
501bf50355 am 58665709: Merge "Workaround for bug 8700358: Reproducible WebView crash in Feedly starting in JWR22B" into jb-mr2-dev
* commit '5866570947a7ef325f74d9dbfc1ccbdd02d3e7b6':
  Workaround for bug 8700358: Reproducible WebView crash in Feedly starting in JWR22B
2013-04-25 21:22:26 -07:00
Kristian Monsen
5866570947 Merge "Workaround for bug 8700358: Reproducible WebView crash in Feedly starting in JWR22B" into jb-mr2-dev 2013-04-26 00:06:16 +00:00
Svetoslav
c6eeacd934 am c38bc5ab: Merge "Lockscreen widgets not always announced." into jb-mr2-dev
* commit 'c38bc5ab6b55804c7a8d440cf2bf249baa2efc98':
  Lockscreen widgets not always announced.
2013-04-25 16:57:56 -07:00
Michael Wright
f652551b3b am b044c40c: Merge "Fixed javadoc in input related classes" into jb-mr2-dev
* commit 'b044c40c154ba8abe62154608812ad87993ca0d8':
  Fixed javadoc in input related classes
2013-04-25 16:57:52 -07:00
Daniel Sandler
ca12d75577 am 027f84c3: Merge "API: getPkg() -> getPackageName()" into jb-mr2-dev
* commit '027f84c310158edfc94d94ab0ef0480843d49d3b':
  API: getPkg() -> getPackageName()
2013-04-25 16:57:45 -07:00
Daniel Sandler
4064af9b09 am a7b6cbf1: Merge "API cleanup: NotificationListener" into jb-mr2-dev
* commit 'a7b6cbf1a3fe91bdbb01edd9a656a62c40c302fd':
  API cleanup: NotificationListener
2013-04-25 16:57:43 -07:00
Svetoslav
c38bc5ab6b Merge "Lockscreen widgets not always announced." into jb-mr2-dev 2013-04-25 21:49:00 +00:00
Michael Wright
b044c40c15 Merge "Fixed javadoc in input related classes" into jb-mr2-dev 2013-04-25 21:43:03 +00:00
Daniel Sandler
027f84c310 Merge "API: getPkg() -> getPackageName()" into jb-mr2-dev 2013-04-25 21:03:55 +00:00
Daniel Sandler
4f91efdf42 API: getPkg() -> getPackageName()
Bug: 8656860
Change-Id: If3062b9fc00270e5f0ecfe67e593b9a28c6bccdd
2013-04-25 16:39:02 -04:00
Svetoslav
4293e233dc Lockscreen widgets not always announced.
1. The accessibility events for switching a widget were dispatched
   before we update the important for accessibility property. We
   were lucky to get events in some cases since the pages in the
   pager had alpha grater than zero, i.e. the page was already
   set as important for accessibility, due to a running animation.

2. Accessibility focus clear event not fired if we give focus to
   another view. The old focus was correctly cleared just the
   events were not dispatched.

bug:8599670

Change-Id: Ia2647d77eaa4e10fbaf3a047dc9ea5b728f9c3c3
2013-04-25 13:25:11 -07:00
Daniel Sandler
a7b6cbf1a3 Merge "API cleanup: NotificationListener" into jb-mr2-dev 2013-04-25 20:16:49 +00:00
Daniel Sandler
e6f7f2e3a0 API cleanup: NotificationListener
- Wrap all public member variables in getters and make
    slots private
  - Rename clear* methods to cancel* to be more consistent
    with existing public Notification API

Bug: 8656860
Change-Id: I84f7e71fbb627f859352a93089c6a531b44dac95
2013-04-25 15:51:08 -04:00
Daniel Sandler
fa1c443063 am 5e97c317: Merge "New NotificationListener API: getActiveNotifications()" into jb-mr2-dev
* commit '5e97c317e07a81bf5670292e2223e14eb610b0fd':
  New NotificationListener API: getActiveNotifications()
2013-04-25 12:44:52 -07:00
Daniel Sandler
5e97c317e0 Merge "New NotificationListener API: getActiveNotifications()" into jb-mr2-dev 2013-04-25 19:41:10 +00:00
Amith Yamasani
269c068de9 am df181185: Merge "Hide TYPE_CHOICE_LEVEL since there\'s no visual representation for it yet." into jb-mr2-dev
* commit 'df18118529eecf7f9bd821552015fea5182c8840':
  Hide TYPE_CHOICE_LEVEL since there's no visual representation for it yet.
2013-04-25 11:18:04 -07:00
Amith Yamasani
d5e946a52c Hide TYPE_CHOICE_LEVEL since there's no visual representation for it yet.
Bug: 8704663
Change-Id: Ia9931e3844305c8f84c127506ffedf3a17eeb80d
2013-04-24 21:37:36 -07:00
Michael Wright
072137c80a Fixed javadoc in input related classes
Change-Id: Ie415f812a0f473488d74119dab18296a488db6b9
2013-04-24 20:41:20 -07:00
Daniel Sandler
25cf8cee6f New NotificationListener API: getActiveNotifications()
This allows a listener service to catch up on the current
state of the notification panel at any time, including at
startup.

Bug: 8656860
Change-Id: I1a3d665d84576e17870929a63dda334afc696010
2013-04-24 23:19:08 -04:00
Svetoslav
c91d4dfe0a am e00b297c: Merge "The touch exploration capability is dynamically granted pre-JellyBeanMR2." into jb-mr2-dev
* commit 'e00b297c0b220148930d40d76f518cf51aa2c9ef':
  The touch exploration capability is dynamically granted pre-JellyBeanMR2.
2013-04-24 18:49:23 -07:00
Matthew Xie
b0225f41da am a6631f57: Merge "Change permission of LE scan APIs from BLUETOOTH to BLUETOOTH_ADMIN" into jb-mr2-dev
* commit 'a6631f57fa49c00d722f6d521b9882781be6dfa0':
  Change permission of LE scan APIs from BLUETOOTH to BLUETOOTH_ADMIN
2013-04-24 18:46:00 -07:00
Svetoslav
e00b297c0b Merge "The touch exploration capability is dynamically granted pre-JellyBeanMR2." into jb-mr2-dev 2013-04-25 01:44:43 +00:00
Matthew Xie
a6631f57fa Merge "Change permission of LE scan APIs from BLUETOOTH to BLUETOOTH_ADMIN" into jb-mr2-dev 2013-04-25 01:42:14 +00:00
Matthew Xie
d575233c53 Change permission of LE scan APIs from BLUETOOTH to BLUETOOTH_ADMIN
bug 8667898

Change-Id: Iaff19fe72b16a96a6cf2f5b9140e369098567d2b
2013-04-24 17:51:37 -07:00
Kristian Monsen
62cadf153f Workaround for bug 8700358: Reproducible WebView crash in Feedly starting in JWR22B
Catching all excptions from reading from the AssetManager

Change-Id: I53f99484deda3778307eab2ae86ca9fc0ad2fead
2013-04-24 16:41:24 -07:00
Svetoslav
11adf6dc24 The touch exploration capability is dynamically granted pre-JellyBeanMR2.
Since the enable touch exploration capability is dynamically granted by
the user for apps targeting pre-JellybeanMR2 API level, we have to properly
update the accessibility service info for that service and also avoid
caching copies of the service info.

bug:8633951

Change-Id: I83dd1c852706ec55d40cda7209ad842889fb970a
2013-04-24 14:59:04 -07:00
Chet Haase
6b4d0f2110 am 42689769: Merge "Document behavior and usage of ViewGroup.bringChildToFront()" into jb-mr2-dev
* commit '4268976929979ffcc54122f8090c39a8c6799273':
  Document behavior and usage of ViewGroup.bringChildToFront()
2013-04-24 14:58:38 -07:00
Chet Haase
0187a5d424 Document behavior and usage of ViewGroup.bringChildToFront()
A call to ViewGroup.bringChildToFront() or View.bringToFront()
(which delegates to the parent's bringChildToFront() method) needs
to be followed by a call to requestLayout() and invalidate() on the
parent container in order for the changes to
actually happen. That is, the order of the child views would change, but
the parent container would not run layout or even invalidation without
being told to, so there would be no visible change until something else
caused a layout and invalidation to occur.

This change clarifies this requirement in the javadocs.

Issue #8667065 bringtoTop does not work

Change-Id: Ibe41a6318dddf9fb79382e1c9fd1d21ab4510976
2013-04-24 12:37:36 -07:00
Alex Klyubin
50289346b3 am a6436526: Merge "Human-readable POSIX capabilities for SystemServer."
* commit 'a643652680486bd1009248d1bd8fcea7da92d661':
  Human-readable POSIX capabilities for SystemServer.
2013-04-23 23:46:25 -07:00
Alex Klyubin
a643652680 Merge "Human-readable POSIX capabilities for SystemServer." 2013-04-24 05:54:47 +00:00
Svetoslav
939ff0acff am 4c783066: Merge "Fixing bugs exposed when moving accessibility CTS tests to UiAutomation." into jb-mr2-dev
* commit '4c78306617dd67b92fdf19101c5dfde4e21172d9':
  Fixing bugs exposed when moving accessibility CTS tests to UiAutomation.
2013-04-23 18:07:04 -07:00
Svetoslav
4c78306617 Merge "Fixing bugs exposed when moving accessibility CTS tests to UiAutomation." into jb-mr2-dev 2013-04-24 01:05:38 +00:00
Svetoslav
db7da0eb8b Fixing bugs exposed when moving accessibility CTS tests to UiAutomation.
1. UiAutomation#executeAndWaitForEvent method was invoking the passed
   runnable while holding the lock which may lead to a deadlock. For
   example: a runnable that calls getActivity() gets us into a state
   like this.

2. UI automation services did not get all capabilities such a
   service can have. Now a UI test service gets all of them.

3. When UiAutomation was exiting for event fired as a result of a
   performed action, it was checking whether the received evnet time
   is strictly before the time of executing the command that should
   fire the event. However, if the execution is fast enough, i.e.
   less than one millisecond, then the event time and the execution
   time are the same. This was leading to a missed signal in rare
   cases.

4. AccessibilityNodeInfoCache was not clearing the relevant state
   for accessibility focus clearing event.

5. Accessibility text traversal in TextView was partially using text
   and partially content description - broken. Now we are using the
   text since for text view and content desc for other views. In other
   words, we are using the most precise text we have.

6. AccessibilityManagerService was not granting capabilities of a
   UiAutomation service - plainly wrong.

CTS change:https://googleplex-android-review.googlesource.com/#/c/300693/

bug:8695422
bug:8657560

Change-Id: I9afc5c3c69eb51f1c01930959232f44681b15e86
2013-04-23 17:44:00 -07:00
Philip Milne
6edbfb9cdc am a6d5109d: Merge "Fix for bug 8578258." into jb-mr2-dev
* commit 'a6d5109dd69791ba51e469c30d522dc27ab2c69c':
  Fix for bug 8578258.
2013-04-23 16:13:18 -07:00
Philip Milne
a6d5109dd6 Merge "Fix for bug 8578258." into jb-mr2-dev 2013-04-23 23:11:06 +00:00
Matthew Xie
2e0a94d22b am b442d074: Merge "Add hardware feature android.hardware.bluetooth.le" into jb-mr2-dev
* commit 'b442d07469aebc07d1d13b5b64b40aa152022e13':
  Add hardware feature android.hardware.bluetooth.le
2013-04-23 15:52:53 -07:00
Matthew Xie
b442d07469 Merge "Add hardware feature android.hardware.bluetooth.le" into jb-mr2-dev 2013-04-23 22:47:52 +00:00
Philip Milne
3c647d23e5 Fix for bug 8578258.
The fix in:

https://googleplex-android-review.googlesource.com/#/c/300346/

worked but the constant used had an extra trailing zero - which was confusing
and put a 1 in the 'flag' space of the measurement spec.

The intended number was:

0x00800000

Unfortunately, this intended constant doesn't fix this bug.

The constant submitted in this fix is:

0x00010000

which is outside the 'flag' space of measurement specs and appears to steer clear of overflow
problems in the scenario of this bug.

As suggested in the submission above, it would be preferable to rework of the RTL code to avoid
the use of such a constant as it seems very unlikely indeed that any choice of integer can
avoid problems in all cases.

Change-Id: I0c6744257ef2aebe8dbc8c041a447f9b90ee4b84
2013-04-23 15:28:18 -07:00
Matthew Xie
a722772b28 Add hardware feature android.hardware.bluetooth.le
The feature is used to differ platforms that support bluetooth low
engery radio
bug 8369273

Change-Id: Ibe23da73f7ecfa854bdb8b8bfc1a32b8e3aeee56
2013-04-23 11:53:41 -07:00
Ian Rogers
282a7e1b1d Adding matching @deprecated.
Bug: 8657266

(Cherry-pick of c2a3adbd56)

Change-Id: Idbd22dc647f11441d15da12eb23723539768cf4c
2013-04-23 11:36:28 -07:00
Ian Rogers
896ee5b6f8 am be4536d2: Merge "Adding matching @deprecated."
* commit 'be4536d214eedc3d12b50f0f30b47bba773b8dbc':
  Adding matching @deprecated.
2013-04-23 09:15:58 -07:00
Ian Rogers
be4536d214 Merge "Adding matching @deprecated." 2013-04-23 15:13:05 +00:00
Chet Haase
393abb1c54 am 5e650cef: Merge "Expand invalidation rectangle when clipChildren == false" into jb-mr2-dev
* commit '5e650cef53cf1eb33f9c8b2f8e5c8b1bb24b32d9':
  Expand invalidation rectangle when clipChildren == false
2013-04-23 03:52:28 -07:00
Daniel Sandler
2fd0ba8e95 am f78ff07f: Merge "Fix concurrency issues when parceling StatusBarNotifications." into jb-mr2-dev
* commit 'f78ff07f6e688d11881658f743ef63076fcc550c':
  Fix concurrency issues when parceling StatusBarNotifications.
2013-04-23 03:52:06 -07:00
Nick Pelly
09e9e1a5e7 am edced26f: Merge "Add ContentValues & CursorWindow to framework.aidl" into jb-mr2-dev
* commit 'edced26f162b0232338064e569fe651b8c805f93':
  Add ContentValues & CursorWindow to framework.aidl
2013-04-23 03:51:56 -07:00
Michael Wright
585000515f am 5fe6e4c4: Merge "Rewrite input handling for native applications" into jb-mr2-dev
* commit '5fe6e4c4c9de523fa9e74902473996ce5ee8b298':
  Rewrite input handling for native applications
2013-04-23 03:51:53 -07:00
Svetoslav
7bf02d1255 am a61464d7: Merge "Making new node id APIs return strings." into jb-mr2-dev
* commit 'a61464d7adc26c291a5f9de48c9aff8b76a56b1f':
  Making new node id APIs return strings.
2013-04-23 03:51:50 -07:00
Dianne Hackborn
8c3cb8111a am a4629b0b: Merge "JB MR2 == API 18." into jb-mr2-dev
* commit 'a4629b0b833f78481ca51baa44b0303ebe647a7c':
  JB MR2 == API 18.
2013-04-23 03:51:40 -07:00
Philip Milne
089a75be5e am a7b2625d: Merge "Fix for bug 8578258: GridLayout is forcing wrong width to TextView widgets" into jb-mr2-dev
* commit 'a7b2625d43a8e83e3fb47ca261efad6e3f6fcde9':
  Fix for bug 8578258: GridLayout is forcing wrong width to TextView widgets
2013-04-23 03:51:29 -07:00
Robert Greenwalt
f12afa9913 am d0202945: Merge "Listen for network disconnect." into jb-mr2-dev
* commit 'd020294572f591007de1fe0aa9e4927dae72c0c9':
  Listen for network disconnect.
2013-04-23 03:51:08 -07:00