Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ea764f1 authored by Svetoslav Ganov's avatar Svetoslav Ganov
Browse files

No selection or click accessibility events are fired when a list item is tapped.

1. It appears that this was never working!?

bug:5098631

Change-Id: I37cd93e6e94137918a2cade13f24846563b23633
parent e8f1cbae
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -277,6 +277,7 @@ public abstract class AdapterView<T extends Adapter> extends ViewGroup {
     *         called, false otherwise is returned.
     */
    public boolean performItemClick(View view, int position, long id) {
        view.sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_CLICKED);
        if (mOnItemClickListener != null) {
            playSoundEffect(SoundEffectConstants.CLICK);
            mOnItemClickListener.onItemClick(this, view, position, id);