commit | 41fe89a84a0be15bd458dd81d8f3acae7939e7ff | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Thu Jun 02 15:27:56 2016 -0700 |
committer | Selim Cinek <cinek@google.com> | Thu Jun 02 15:27:56 2016 -0700 |
tree | a604f01544dfe79ebd74ebe8b6b82c96b50e4c90 | |
parent | 470bf5eccb8484a1e816926ea501496348bcf963 [diff] |
Fixed a bug where talkback couldn't scroll through notifications Change-Id: Idac298efe3a25be1d435776817180c3acf78bf84 Fixes: 29046169
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 4c242cc..3499146 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.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; @@ -3573,6 +3574,8 @@ 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 */