summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Steve Elliott <steell@google.com> 2022-06-24 11:01:49 -0400
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2022-07-29 22:35:25 +0000
commitf3097ad6d536a0f96b0246711de5353cc660c57c (patch)
treef63dcbb9936c68de498209dbf2b008e50513ad43 /libs/androidfw/StringPool.cpp
parent86feb702daa2e8748632754a070cbf8473c4c070 (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 Merged-In: Ie8ddf1dbaaf1ba607657646db05d3eb622fc9415 (cherry picked from commit 7f387f9ae92490d7ab196eb2274019b543b8ab88) (cherry picked from commit 28dc43e6a7698f4e6ace7718ce71a2d7a5b8bec4) Merged-In: Ie8ddf1dbaaf1ba607657646db05d3eb622fc9415
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions