summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2016-10-07 21:19:30 (GMT)
committerHyunyoung Song <hyunyoungs@google.com>2016-10-07 21:19:30 (GMT)
commiteb205af09f5495a72e1655d41042167ba57631bf (patch)
tree5f811965cec2df4c76d2d13fc51a83c1a6fc58f7
parent1ee2db14e08404db72e9b016c76d965571c418e0 (diff)
downloadandroid_packages_apps_Trebuchet-eb205af09f5495a72e1655d41042167ba57631bf.zip
android_packages_apps_Trebuchet-eb205af09f5495a72e1655d41042167ba57631bf.tar.gz
android_packages_apps_Trebuchet-eb205af09f5495a72e1655d41042167ba57631bf.tar.bz2
Set correct accessibility delegate for the overview mode.
b/32004538 Change-Id: Ie68fe418b777784d747b004600ef1c98e96a4791
-rw-r--r--src/com/android/launcher3/pageindicators/PageIndicatorLineCaret.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/launcher3/pageindicators/PageIndicatorLineCaret.java b/src/com/android/launcher3/pageindicators/PageIndicatorLineCaret.java
index 350bc8a..0e1a708 100644
--- a/src/com/android/launcher3/pageindicators/PageIndicatorLineCaret.java
+++ b/src/com/android/launcher3/pageindicators/PageIndicatorLineCaret.java
@@ -143,6 +143,11 @@ public class PageIndicatorLineCaret extends PageIndicator {
}
@Override
+ public void setAccessibilityDelegate(AccessibilityDelegate delegate) {
+ mAllAppsHandle.setAccessibilityDelegate(delegate);
+ }
+
+ @Override
protected void onDraw(Canvas canvas) {
if (mTotalScroll == 0 || mNumPagesFloat == 0) {
return;