Merge "Fixed a bug where talkback couldn\'t scroll through notifications" into nyc-dev am: 6c94972622

am: f7b21e1db0

* commit 'f7b21e1db040b211356e639b5324a4826871de69':
  Fixed a bug where talkback couldn't scroll through notifications

Change-Id: Ie1dc2e51af0acfddfcb4538dcd90e7558379524e
This commit is contained in:
Selim Cinek
2016-06-03 23:26:33 +00:00
committed by android-build-merger

View File

@@ -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 */