Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6dbd9626 authored by Tyler Freeman's avatar Tyler Freeman
Browse files

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
parent a407ee86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment