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

Commit 7deab1d6 authored by Gavin Williams's avatar Gavin Williams
Browse files

a11y: Fix autoclicking when hovering panel

Attempting to click a button on the autoclick panel should always
peform a normal left click. This did not work while in the two click
modes: Dragging & Scrolling.

To resolve this, at the beginning of the click execution explicitly set
the click type to AUTOCLICK_TYPE_LEFT_CLICK if the autoclick panel is
hovered.

Also reformat tests to use common initializer function.

Bug: b/395094903
Test: AutoclickControllerTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
Change-Id: I292c3496fd926ce2405ca9af59ffbcbd1f14a842
parent 2a2f062d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment