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
Loading
Please register or sign in to comment