summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupHelpers.cpp
diff options
context:
space:
mode:
author Tyler Freeman <fuego@google.com> 2023-07-25 04:20:51 -0700
committer Tyler Freeman <fuego@google.com> 2023-12-13 13:39:05 -0800
commit6dbd9626905f2210f7bfc334f1c0fb4f6bc4ffa9 (patch)
tree49e332876480087b8c5f69e5419a39503aa9d434 /libs/androidfw/BackupHelpers.cpp
parenta407ee86dcb452c3609898d6a95da755428456aa (diff)
fix(non linear font scaling): make FontScaleConverterFactory thread-safe
We use the same technique as CopyOnWriteArrayList to protect the writes only. Reads can be a bit out of date since they are only used for caching. Bug: b/239736383 Flag: android.content.res.font_scale_converter_public Test: atest FrameworksCoreTests:android.content.res.FontScaleConverterFactoryTest Change-Id: I2cfefcf7a5c6f56294e87d4c35afc8499c2e7c02
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions