summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jeff DeCew <jeffdq@google.com> 2022-06-08 19:11:50 +0000
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2022-07-21 03:27:40 +0000
commitedcb214c8a26d3e5e5a3e4b4b6c520d4c84bfc0d (patch)
tree506a4fdf2eb0f508d6b408a38b53d97d79fad1c5 /libs/androidfw/StringPool.cpp
parent61e079266734ec5fb8b73de1b80f14e09abc2507 (diff)
Fix squished notifications on the lockscreen.
This fixes a stale state caused when stack height is not recalculated after being frozen. NSSL uses shouldSkipHeightUpdate() to prevent the stack height from being recalculated during various animations and gestures, but we didn't correctly trigger a recalculation after that 'freeze', so this CL adds the necessary recalculation at those transition points to prevent the old stack height from persisting until the next update. This also fixes a visual jump when unfreezing the stack height if it was frozen while the appear fraction was still changing. This jump is fixed by allowing the appear fraction to continue to apply and update the stackHeight (from the stackEndHeight) even while the stackEndHeight is frozen. Fixes: 235366457 Bug: 234824085 Test: drag shade up during aod->ls transition Change-Id: Ice6de1149b05564294e5c51308e962112cf4eda7 (cherry picked from commit 82596c5c5dd6c11da61000a17488615bfe12b01d) (cherry picked from commit c29777f4059da03ac663c3cc5b61d0f011aac8bb) Merged-In: Ice6de1149b05564294e5c51308e962112cf4eda7
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions