diff options
author | Jorim Jaggi <jjaggi@google.com> | 2015-06-25 17:26:10 -0700 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2015-06-30 00:27:14 +0000 |
commit | e85da2bad5b80f4e2269a64255cbaf8c11efce61 (patch) | |
tree | fc3d4f23bc757c11b846eac34aa81a8bec1be2d0 /services/accessibility | |
parent | 825c2a006ed3fd5f33c4fe8ecf3e682bebd97817 (diff) | |
download | frameworks_base-e85da2bad5b80f4e2269a64255cbaf8c11efce61.zip frameworks_base-e85da2bad5b80f4e2269a64255cbaf8c11efce61.tar.gz frameworks_base-e85da2bad5b80f4e2269a64255cbaf8c11efce61.tar.bz2 |
Add accessibility event for assist disclosure
Bug: 21568059
Change-Id: Ib51d4236fcc87acd54cb5d191197b9b2c6cc54ea
Diffstat (limited to 'services/accessibility')
-rw-r--r-- | services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java b/services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java index 7bcbcfb..57769e7 100644 --- a/services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java +++ b/services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java @@ -3351,6 +3351,8 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub { case AccessibilityEvent.TYPE_TOUCH_INTERACTION_END: case AccessibilityEvent.TYPE_VIEW_HOVER_ENTER: case AccessibilityEvent.TYPE_VIEW_HOVER_EXIT: + // Also always dispatch the event that assist is reading context. + case AccessibilityEvent.TYPE_ASSIST_READING_CONTEXT: // Also windows changing should always be anounced. case AccessibilityEvent.TYPE_WINDOWS_CHANGED: { return true; |