diff options
| author | 2024-12-13 20:05:50 +0100 | |
|---|---|---|
| committer | 2024-12-30 09:46:54 -0800 | |
| commit | f77bc43d49a384dbe1d2b87a370ba7d62079dc25 (patch) | |
| tree | 4b52063c251164bf66a202e9a621edda433090b8 /libs/androidfw/StringPool.cpp | |
| parent | c92d93f83cc6b87e884ec7ee2875845e5ede5676 (diff) | |
[Notif redesign] Fix top line alignment for larger children
I found this bug while investigating something related, and although it's not currently visible because the children of the top line view are generally always smaller in height, it's still worth fixing since the onLayout actually supports taller children, but this bug breaks that support.
The issue was that although the onLayout implementation correctly aligns children taller than the parent vertically, in the measure phase, we were actually limiting children's height to the given height, which broke the alignment in the end.
Bug: 378660052
Test: visual test, screenshot tests to come later
Flag: android.app.notifications_redesign_templates
Change-Id: I3a03e09b91b220663b7994263b4af5b2d9d07cfc
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions