summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Roy Chou <juchengchou@google.com> 2023-07-14 04:10:06 +0000
committer Roy Chou <juchengchou@google.com> 2023-07-28 07:40:04 +0000
commit3cae3974c5bd527ff82aefd505fde6412d60b0b8 (patch)
treee7dede6a03d55c03ff06b24f94e505bceb2661a0 /libs/hwui/FrameInfoVisualizer.cpp
parent5a47a5b63796c4324a7d00c641bddebdf47ba341 (diff)
fix(non linear font scaling): date textview is cut off in qs header
Originally the qs header height is fixed to 120dp, so when larger font scaling the header height might not be enough to accommodate the subviews with given constraints, then some of the constraints are broken and the date textview bottom is cut off. Therefore, in NotificationsQSContainerController, we calculate the needed height for the subviews as the header height to prevent the ui broken. Bug: 291168649 Test: manually - attached screenshot in bug atest com.android.systemui.shade Change-Id: I99373152104ba1b378115fa12fea3ba3d7448e14
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions