Loading
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