diff options
| author | 2024-02-20 13:32:44 -0800 | |
|---|---|---|
| committer | 2024-02-27 13:19:11 -0800 | |
| commit | e0d0c020507e0de3e184f298919f3e890d58ad26 (patch) | |
| tree | 07a2e73e3338162db2981b536a940fedf9ddc17d /native/android/sharedmem.cpp | |
| parent | c5b8dc1835a719c7ce39eae5e9cda5583586b3ea (diff) | |
Change input handling to allow button ripples.
The desktop mode touch handler would consume ACTION_DOWN input events
if they occur in app pill / maximize / close buttons, preventing them
from displaying ripple effects. This CL changes the touch handler and
buttons themselves to prevent these events from being consumed while
leaving other functionality (double tap, drag, long press) in tact.
Because there are less input events being consumed, this CL removes
variables mShouldClick and shouldLongClick as we can now allow the
listener itself to determine these events.
Bug: 316194617
Test: Manual
Change-Id: I07a80d7952bfcc7e01d18449282e4339b0fcd6bb
Diffstat (limited to 'native/android/sharedmem.cpp')
0 files changed, 0 insertions, 0 deletions