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

Commit 4ee79ff9 authored by Dieter Hsu's avatar Dieter Hsu
Browse files

Refine API javadoc: onTouchExplorationHoverEvent

Bug: 35702820
Fixes: 120488378
Test: make docs

Change-Id: Id04a31bd9c89e423706ce0256ed668eebd12bd47
parent 0ddbce0b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -157,6 +157,11 @@ public class TouchDelegate {
     * Forward hover events to the delegate view if the event is within the bounds
     * specified in the constructor and touch exploration is enabled.
     *
     * <p>This method is provided for accessibility purposes so touch exploration, which is
     * commonly used by screen readers, can properly place accessibility focus on views that
     * use touch delegates. Therefore, touch exploration must be enabled for hover events
     * to be dispatched through the delegate.</p>
     *
     * @param event The hover event to forward
     * @return True if the event was consumed by the delegate, false otherwise.
     *