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 /packages | |
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 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/assist/AssistDisclosure.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/assist/AssistDisclosure.java b/packages/SystemUI/src/com/android/systemui/assist/AssistDisclosure.java index 585f9ba..c3a8f2e 100644 --- a/packages/SystemUI/src/com/android/systemui/assist/AssistDisclosure.java +++ b/packages/SystemUI/src/com/android/systemui/assist/AssistDisclosure.java @@ -32,6 +32,7 @@ import android.graphics.PorterDuffXfermode; import android.os.Handler; import android.view.View; import android.view.WindowManager; +import android.view.accessibility.AccessibilityEvent; import android.view.animation.AnimationUtils; /** @@ -166,6 +167,7 @@ public class AssistDisclosure { super.onAttachedToWindow(); startAnimation(); + sendAccessibilityEvent(AccessibilityEvent.TYPE_ASSIST_READING_CONTEXT); } @Override |