diff options
| author | 2025-02-05 12:04:29 -0800 | |
|---|---|---|
| committer | 2025-02-05 12:12:27 -0800 | |
| commit | 387b97fa84ce6faef6553ccdbdba6d49dcfcc16f (patch) | |
| tree | 0afba87cbce5394e07ecd892a0c74215d0059233 /api/api_test.go | |
| parent | 5a8361875234b125027f624393ff567118525062 (diff) | |
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
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions