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

Commit ba4bbe79 authored by Alan Viverette's avatar Alan Viverette Committed by Android Git Automerger
Browse files

am 6f1edae8: Merge "Send VIEW_SELECTED event when View selection state changes" into lmp-mr1-dev

* commit '6f1edae8':
  Send VIEW_SELECTED event when View selection state changes
parents 62110657 6f1edae8
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -16617,10 +16617,14 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
            invalidate(true);
            refreshDrawableState();
            dispatchSetSelected(selected);
            if (selected) {
                sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_SELECTED);
            } else {
                notifyViewAccessibilityStateChangedIfNeeded(
                        AccessibilityEvent.CONTENT_CHANGE_TYPE_UNDEFINED);
            }
        }
    }
    /**
     * Dispatch setSelected to all of this View's children.