diff options
| author | 2022-03-14 21:54:34 +0100 | |
|---|---|---|
| committer | 2022-03-15 11:05:58 +0100 | |
| commit | c060228cc2726a9fc99e23b986ad324ef4f9b758 (patch) | |
| tree | c89629ad7b09394442f59cc9907ec737e7f752e0 /libs/androidfw/StringPool.cpp | |
| parent | c515a0aed99cbada7b273fa581b8f0649bafdb21 (diff) | |
Fix last notification trimmed on lockscreen
The stack height set to ambientState, and then used by `StackScrollAlgorithm#initAlgorithmState` had some additional padding. For this reason, in `initAlgorithmState()` the `state.firstViewInShelf` was actually the one next to the correct one.
intrinsicContentHeight doesn't have those paddings, and result in using the correct size. This can also be double checked by enabling debug draw lines in NotificationStackScrollLayout.
The test is deleted as it was just duplicating the method code.
Bug: 214504318
Test: existing tests pass + manually verified
Change-Id: I83179d56ca7299e5d020e4eea2d460b168a76c6e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions