summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorClara Bayarri <clarabayarri@google.com>2017-01-10 09:31:51 -0800
committerClara Bayarri <clarabayarri@google.com>2017-01-23 15:02:23 +0000
commit04d72abde1efc963ebb2f145f859552e83b92d13 (patch)
tree62e2d74e3cb0d336d0d02afa4d89c650e83c4e6b /tools/aapt2/diff/Diff.cpp
parentb334b8f0f26d93e50c07bbb90ade097025d795c1 (diff)
Expose fonts.xml via public API with a service
This change creates a new FontManagerService, in charge of providing font management data. It exposes a public API to retrieve the information in fonts.xml without accessing it directly. To do this, it also refactors FontListParser's internal classes into a new public FontConfig class holding all the font data. getSystemFonts() returns all the available information in fonts.xml as well as file descriptors for all the fonts. This allows us to share the memory consumed by these files between all clients. Bug: 34190490 Test: See attached CTS change in topic Change-Id: I0e922f8bcc9a197a1988d04071eb485328d66fb7
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions