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 Steve Elliott <steell@google.com> 2022-06-24 15:29:26 +0000
commitc29777f4059da03ac663c3cc5b61d0f011aac8bb (patch)
tree1dbb6786f409d75e60b5a7f799d56cf6930ccc07 /libs/androidfw/StringPool.cpp
parent81222d2803f94a0e8e76353e32ac9d10c87521ff (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)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions