summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Ibrahim Yilmaz <iyz@google.com> 2024-06-17 14:18:36 +0000
committer Ibrahim Yilmaz <iyz@google.com> 2024-06-17 14:25:32 +0000
commit6be7dbbb1d8d1bca407fbbc4bc700ae3e7e9e9bc (patch)
tree1269ec0a92b67308407493de19cee586c8ab34d4 /libs/androidfw/StringPool.cpp
parent102f1f0c85fe780726f35232abe94a9346e8a0c5 (diff)
[Notification Content Cut Off] use max child height in ConversationLayout
FrameLayout measures its match_parent children twice when any of FLs dimension is unspecified. It also sets its dimension before the match parent childrens second measurement. Since View#measure is not immutable, children can have a different dimensions. When the biggest children has bigger height than its first measurement, its content is going to be cut off. We calculate the maxHeight in this CL and set it to fix cut off issue. Bug: 324537506 Flag: android.widget.flags.conversation_layout_use_maximum_child_height Test: Manual. Disable child invalidation and optimize linearlayout. Post a group notification with short choices and trigger onMeasure twice by orientation change. There shouldn't be any cut off. Change-Id: I02be31dea83a217247c2e0dff05ceaa88efb2dee
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions