diff options
| author | 2024-10-18 12:45:16 -0400 | |
|---|---|---|
| committer | 2024-10-18 12:58:46 -0400 | |
| commit | 4a1240b777e0961a718469f5a5de1130f913a0ff (patch) | |
| tree | a029d904a57694fa9d831c8d49b2df3eae6d3fa7 /libs/androidfw/StringPool.cpp | |
| parent | ff72c93091bb7cc9e861253cab845f506d531db5 (diff) | |
Improve drag-to-remove detection
Instead of checking the position of the finger during the drag gesture,
we now check if the bounding box of the item being dragged contains the
center of the remove button. This makes dragging to remove much easier,
especially for larger widgets.
Test: manually by dragging widgets to the remove button
Flag: EXEMPT bugfix
Fixes: 319134429
Change-Id: I42658889e301ed84c4a511fc14abcd332e5271c3
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions