summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author András Kurucz <kurucz@google.com> 2024-04-29 08:29:13 +0000
committer András Kurucz <kurucz@google.com> 2024-05-13 12:21:19 +0000
commit3a41c67ffe5b2a470ee501e264c115b9610f2cbc (patch)
tree3a912bfd9521e921c89331886e6caef91d52d323 /libs/androidfw/StringPool.cpp
parentb3b883ade697b0a58f4d3984b2b920dc30187f52 (diff)
[Flexiglass] Fix Notification removal animations
This CL fixes a timing issue, between the NSSL updating its content height, and the NotificationPlaceholder running its layout to follow up on the new height value. It is achieved by: - replacing the height modifier on the placeholder with a layout one - reading the intrinsic content height directly from the NSSL - making the NSSL to invalidate the layout of the placeholder, whenever its height is changing - creating a LayoutModifierNode instead of a State, to make this happen within one frame Fixes: 330667757 Test: Have lots of Notifications. Scroll to the bottom of the shade, dismiss a Notification. Observe the animation. Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT Change-Id: I66ad42907d2725f5fb4a169f60dc94a6e87ce56b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions