diff options
| author | 2022-08-09 16:07:13 +0000 | |
|---|---|---|
| committer | 2022-08-17 15:04:51 +0000 | |
| commit | 59b2f1743d87c31f0defdbf0fa056c052d3ae214 (patch) | |
| tree | a277850347814f05b28005e8c42de5da667c9f40 /libs/androidfw/StringPool.cpp | |
| parent | 4f28845c842dd6eb04868637712a7d6e59cdccff (diff) | |
Fix unbounded number of uncached shortcuts
There is a consistency issue in which some cached conversations in
People Service do not get cleaned up because they are missing a event
timestamp. For those cases, we use the creation timestamp to order by
recency and still clean up those conversations.
This change will enforce that at most `MAX_CACHED_RECENT_SHORTCUTS` are
cached by People Service for uncustomized conversations as expected.
Test: Manually with app that creates cached shortcuts and unit tests
Bug: 233926836
Change-Id: Ia017917ea56f2e233fdb837e574a8bd7c0d69e3b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions