diff options
| author | 2022-11-15 13:45:51 +0000 | |
|---|---|---|
| committer | 2022-11-15 13:45:51 +0000 | |
| commit | e39a3e1f43881d84e41cf2bfa77b220ade7423c2 (patch) | |
| tree | 95f946730de3fd432dedc657ca5b4d7182e86677 /libs/androidfw/StringPool.cpp | |
| parent | 1e20bf871cbe5c0192798c1d2d282962bb9aec14 (diff) | |
Apply layout param to NotificationShelf only when needed
Before, layout params were applied even when they stayed the same, causing a requestLayout that was propagating to the NotificationStackScrollLayout and remeasuring all notifications (even if it wasn't needed).
Bug: 245268301
Bug: 243647188
Test: Manually verified in a perfetto trace that no RequestLayout was propagated to NSSL after this change from the shelf. Currently there are no ways of writing tests, but I'm working at a way to enable us to make such kind of assertions, so I'll consider adding one when possible.
Change-Id: Ib3a360e705fe49cbff6f90ada0a52171ce9a5688
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions