commit | 474377182b084ffeef233e59ce25c0bb40de7e57 | [log] [tgz] |
---|---|---|
author | Kohsuke Yatoh <kyatoh@google.com> | Fri Apr 09 15:39:32 2021 -0700 |
committer | Kohsuke Yatoh <kyatoh@google.com> | Fri Apr 09 15:39:32 2021 -0700 |
tree | d4d3974437dd65145bfbd769a707275ccdd237b3 | |
parent | 026ecf618aa28bcb43fe223b923c027bbeab6a32 [diff] |
Clear PersistentSystemFontConfig before update. Currently config.updatedFontDirs is not cleared, so old entries will accumulate in XML when fonts are updated multiple times. Bug: 184975511 Test: atest FrameworksServicesTests:UpdatableFontDirTest Change-Id: Ic4e0ed7d05b55280600ae07fdb190f35484bd307