diff options
| author | 2023-12-15 13:45:51 +0100 | |
|---|---|---|
| committer | 2023-12-15 13:54:45 +0100 | |
| commit | 343768094e68cf7fd457ab46a0a603eb2d43755e (patch) | |
| tree | c19a99203bb5386764284c1fed8d4d149ffca831 /api/api.go | |
| parent | dac23fc89d04c7d469f2cd511e3d3fc76dcc3dcd (diff) | |
Reduce needless recoverBuilder calls when updating Notification icons
Right now we repeatedly call recoverBuilder through IconManager.updateIcons() which is surprisingly expensive. We call it to resolve the same exact description set for each icon in a Notification. This CL reuses the description and noticably cuts down on repeated description resolution.
Flag: NONE
Bug: 316554966
Test: newly added unit tests and existing tests
Change-Id: Icc4ed9d1890842fa953d1322bcbc941272539355
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions