summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Tetiana Meronyk <tetianameronyk@google.com> 2024-04-19 20:25:15 +0000
committer Tetiana Meronyk <tetianameronyk@google.com> 2024-04-25 10:32:55 +0000
commit0625939a0232905b8fa6cf67ad779ee8491d9f30 (patch)
tree596e563ef3177e9fd6fd10dd7f413218e7ee04d7 /libs/androidfw/StringPool.cpp
parent9c827467ed33370a8699defaa5729d0193b6c4c0 (diff)
Only rewrite file when there has been a change to a list of users
Due to I/O operations being performed on BG thread, every call, especially during user boot, adds to the overall performance impact. This change adds extra checks to ensure writing only happens when the change occured. Bug: 331980379 Bug: 335667295 Test: perfetto trace && manual Change-Id: I86c04ef7307b10e6336b80699c1091f107d8d1bc
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions