diff options
author | joehsu <joehsu@google.com> | 2021-05-12 14:15:06 +0800 |
---|---|---|
committer | joehsu <joehsu@google.com> | 2021-05-12 14:18:58 +0800 |
commit | 1681aa2eeb486e105341a5af09bf5af9263ed884 (patch) | |
tree | aae1b35dc84787207d0883159776e3501ef7bb2c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 0a35d1d6b4e486c39f51c0ade132a48fecd210c7 (diff) |
Check FontFamily null before adding it.
Missing ttf files under /product/fonts will cause NullPointerException.
This CL fixes it.
Bug: 187901462
Test: Flash Sabrina to Android S. Boot to check if there's still an error.
Change-Id: I9d39c2a6e4730563f35f43176f630ac0439767b3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions