diff options
| author | 2023-04-07 18:51:30 -0400 | |
|---|---|---|
| committer | 2023-04-07 19:49:48 -0400 | |
| commit | b455b1054935b70cec2b84c4581f648a5f94d458 (patch) | |
| tree | 5d8e4f07b6c813d6c7e777c5cf740dd62f5b8d53 /libs/androidfw/ObbFile.cpp | |
| parent | b2c8f86c62bc6bd7ebf1b9b5dc3547bb5734a2cf (diff) | |
Lockscreen Shortcuts sometimes do not activate when long-pressing
When calculating the distance, the upward-scaling shortcut was affecting the getX and getY positions, causing the touchSlop to think we moved our finger too much, which cancelled the animation.
This change uses rawX and rawY as we don't want the scaling to affect the distance calculations.
Bug: b/277381195
Test: Manually test the lockscreen shortcuts, ensure they activate as expected
Change-Id: I75e5133f7fbda3a3ae8843e7d74ca2e71e62c0bd
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions