commit | c02b7544f18c8f9f63d541ec4fdd5c398ceb1c47 | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Mon Aug 20 11:38:32 2018 -0700 |
committer | Seigo Nonaka <nona@google.com> | Mon Aug 20 11:38:32 2018 -0700 |
tree | 419981eb874dc3a0b9a76a913cdd7d3dd0fb9b7d | |
parent | 93a2daf1c00286a206564a17af087688a39c0af1 [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