summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Nicolo' Mazzucato <nicomazz@google.com> 2022-04-11 16:22:57 +0200
committer Nicolo' Mazzucato <nicomazz@google.com> 2022-04-26 14:16:52 +0200
commit2aaafaa1a892818d7988e653b48fdc59ac21ff5b (patch)
tree87db56e489f8459c7ec4505001f7ce767e9a23ed /api/api.go
parent57edb1f7894405477d377ccffdf42ac27eeffbbe (diff)
Fix notifications trimmed when unfolded on keyguard
When the number of notifications is limited by mMaxDisplayedNotifications (e.g. on keyguard), it is possible to use the intrinsic content height of the stack, as it is already limited by the maximum number of notifications. The values of bottom and top margin previously used in updateStackEndHeight were wrong for the split shade (while on lockscreen). Fixes: 214504318 Test: Add many notifications and check nothing is truncated both when folded and unfolded. Change-Id: Iae63c3916499c53475475905383c925b13d8f1b1
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions