diff options
| author | 2023-04-29 16:39:26 +0000 | |
|---|---|---|
| committer | 2023-05-01 16:15:27 +0000 | |
| commit | d702ba7fee5894a86cdfde689b85492bf6194d5c (patch) | |
| tree | d00aa1ad3b5866f9d2e68538ad6a58e11508af44 /libs/androidfw/StringPool.cpp | |
| parent | 8c01119c26f89271f7bdff11615b31a01d382a88 (diff) | |
Do not use Paint.setFontVariationSettings as basis for variant Typefaces
Post cache eviction, it was possible to generate the wrong typeface
for an animation if the typeface was edited but not the font variation
settings as Paint.setFontVariationSettings would not. If the typeface
must be changed, reinitialization of the cache is also required.
Bug: 279877970
Test: Manually checked variant typeface generation
Change-Id: I5f76c0aa3d8aca7c1096c34c09b5861b980fe0ff
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions