summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Selim Cinek <cinek@google.com> 2016-06-03 23:22:01 +0000
committer android-build-merger <android-build-merger@google.com> 2016-06-03 23:22:01 +0000
commit3eec7d66dedfc7f769cf154bd1a8a93b3e94460b (patch)
tree209a5ae3aea30574ccc438d191aaaed01178c023
parentb5a46631c95c379c560f6d73a5c3ca074e08ad2c (diff)
parent6efad815c2fc81416d17521a547407dec0528a58 (diff)
Merge "Fixed a bug where talkback couldn\'t scroll through notifications" into nyc-dev am: 6c94972622
am: 6efad815c2 * commit '6efad815c2fc81416d17521a547407dec0528a58': Fixed a bug where talkback couldn't scroll through notifications Change-Id: I4cbe2a13cd2a05dd9c550a0499e72ef5035b92c1
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
index b58538d03bd0..d5f17073d682 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
@@ -53,6 +53,7 @@ import android.view.accessibility.AccessibilityNodeInfo;
import android.view.animation.AnimationUtils;
import android.view.animation.Interpolator;
import android.widget.OverScroller;
+import android.widget.ScrollView;
import com.android.internal.logging.MetricsLogger;
import com.android.internal.logging.MetricsProto.MetricsEvent;
@@ -3600,6 +3601,8 @@ public class NotificationStackScrollLayout extends ViewGroup
info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_DOWN);
}
}
+ // Talkback only listenes to scroll events of certain classes, let's make us a scrollview
+ info.setClassName(ScrollView.class.getName());
}
/** @hide */