diff options
author | Mill Chen <millchen@google.com> | 2021-04-28 11:52:54 +0800 |
---|---|---|
committer | Mill Chen <millchen@google.com> | 2021-04-28 11:52:54 +0800 |
commit | 1b2e778a91bc38df5357e9cb2aaab209e6951d3e (patch) | |
tree | 053280767c52c3f546dc59e9b1207d360c4c373c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e68fa4af0aac66849855b5fee814816db63c87fe (diff) |
Make collapsing toolbar load font synchronously
Since collapsing toolbar might load the font asynchronously, it caused
that some settings pages are seeing a flicker on its title. This change
is using TextAppearanceConfig.setShouldLoadFontSynchronously(true)
method to have title font load synchronously, which would remove the
flicker problem.
Bug: 182232144
Test: visual verified
1) Settings > Notifications > Notification history
2) See if there's a flicker on title
Change-Id: I80f5c5862ea6408bfb372d61a11122fb0240e45d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions