diff options
| author | 2022-06-24 11:01:49 -0400 | |
|---|---|---|
| committer | 2022-07-13 09:27:55 -0400 | |
| commit | 369571a4939ddf9033aa896ac84212f0388f92dc (patch) | |
| tree | 0dfe24b05d73ed80a101d5cb8cee7b97ec469f51 /libs/androidfw/StringPool.cpp | |
| parent | 6dfbb419d7872f1191e0bfa581901e3b2a2f3fc4 (diff) | |
Fix stale NSSL "fling" state caused by no-op fling
If a fling gesture ends with the current Y position in the exact end
position for the fling, then the code to run the fling animation is
bypassed, but the flag in AmbientState tracking whether a fling is
active is never reset. This CL replaces the short circuit logic with the
standard fling-end logic, ensuring that all expected code paths are
executed.
Fixes: 234824085
Fixes: 237272856
Test: manual
1. Enter lockscreen
2. Swipe up and then down to the exact same position, in one
continuous gesture
3. Wait for a notification update
Observe: Shade resizes correctly to match the new contents
Change-Id: Ie8ddf1dbaaf1ba607657646db05d3eb622fc9415
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions