+8
−6
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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