summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2018-08-20 11:38:32 -0700
committerSeigo Nonaka <nona@google.com>2018-08-20 11:38:32 -0700
commitc02b7544f18c8f9f63d541ec4fdd5c398ceb1c47 (patch)
tree419981eb874dc3a0b9a76a913cdd7d3dd0fb9b7d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent93a2daf1c00286a206564a17af087688a39c0af1 (diff)
Fix NPE with Roboletric by returning emptyArray
Previous change I69e21940eaec4427f62abe59ae003b4f60855f22 did not handle the case of missing /system/etc/fonts.xml This happens on roboletric test and crash with NPE. Bug: 112843740 Test: N/A Change-Id: I6d183dab9af66abf777f2e5b1fa633ff979fea55
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions