commit | 0625939a0232905b8fa6cf67ad779ee8491d9f30 | [log] [tgz] |
---|---|---|
author | Tetiana Meronyk <tetianameronyk@google.com> | Fri Apr 19 20:25:15 2024 +0000 |
committer | Tetiana Meronyk <tetianameronyk@google.com> | Thu Apr 25 10:32:55 2024 +0000 |
tree | 596e563ef3177e9fd6fd10dd7f413218e7ee04d7 | |
parent | 9c827467ed33370a8699defaa5729d0193b6c4c0 [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