SkFontMgr_android should not crash if no fonts

Currently creation of a SkFontMgr_android will crash if no fonts are
found since there will be no default font available. Allow falling back
to an "empty" font if no fonts are found.

Bug: b/363184115
Change-Id: Ibcd219e72fc8b2a6bd80df282eebda520f41ecd3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/897720
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
1 file changed