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-09 19:39:55 +0000
commit4da071e035b647f498936bdb2b557aa08bd9df0f (patch)
treed3aeff9bd30e74b6558da71b6130f8f3e77ba284 /libs/androidfw/StringPool.cpp
parent6098b8f68bc21d84ddde92f12a1550401666aa12 (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 Merged-In: Idebd37d1458c80330b60802729575219b6a7b49a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions