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

Commit 387b97fa authored by Maryam Dehaini's avatar Maryam Dehaini
Browse files

Allow long clicks on maximize icon using switch access

The current implementation only allows listeners from a touchscreen
source. When a user uses switch access to long click, the onLongClick
listener is called, but the onTouch listener never is. This change
ignores onLongClick calls that have gone through onTouch first but
allows long clicks that are recieved directly from an onLongClick call.

Bug: 391652399
Test: open and close maximize menu using both switch access and
touchscreen
Flag: com.android.window.flags.enable_desktop_windowing_mode

Change-Id: Ie7d703a53aab8fa097b4850ca7d35129f1f58f77
parent 5a836187
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