summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Fabian Kozynski <kozynski@google.com> 2022-08-02 09:54:41 -0400
committer Fabian Kozynski <kozynski@google.com> 2022-08-04 14:06:27 -0400
commit4cbae07281b6c39c7dc10f321833418e24b1f92e (patch)
tree9c62b1f6942864ef829400fd676e561cef702ca3 /libs/androidfw/StringPool.cpp
parente04531c84ad4ce7af669593a92ba7d1a7e424db9 (diff)
Reduce blocking calls to Settings in main thread
In most cases, mTileList contains the same information as the Settings value, so there's no need to retrieve it before modifying it. Keep track of that with a dirty flag. This way, we reduce the number of blocking calls in the main thread (as that's the thread that processes the tiles). Test: manual, factory reset Test: existing QSTileHostTest Test: performance metrics are back to baseline Fixes: 240256263 Change-Id: Idebd37d1458c80330b60802729575219b6a7b49a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions