OSDN Git Service

Always propagate AccessibilityCache events
authorEugene Susla <eugenesusla@google.com>
Wed, 21 Dec 2016 00:32:59 +0000 (16:32 -0800)
committerEugene Susla <eugenesusla@google.com>
Thu, 29 Dec 2016 21:05:58 +0000 (13:05 -0800)
commiteb1375c091d9df48b11bc44e34527b52b63d8f96
tree9ecfe09f1fcd20d6bfd542b6e991ab98bd8437cc
parent96b97d722f14cd18223b00aaf57ef6b0db47dc0c
Always propagate AccessibilityCache events

Bug: b/32642665
Test: Steps:
- Retrieve root AccessibilityNodeInfo
- Change text on its child TextView
- Wait for a few seconds to let the AccessibilityEvent propagate to
    the AccessibilityCache
- Get the child AccessibilityNodeInfo from the root, corresponding to
    that TextView, and ensure that it's updated to reflect the text
    change
Change-Id: Icbdb91803b646fa06aaf11996d350f6f65c1e809
core/java/android/accessibilityservice/AccessibilityService.java
core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl
core/java/android/view/accessibility/AccessibilityCache.java
services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java