platform_bootable_recovery/tests
xunchang 34723087fe matches_locale no longer accept empty locales in the png file
The legacy png files have an empty line in the end. And the recovery
used to match any missing locale, e.g. "he" with that line and gets an
empty image.

Since the empty image is barely useful, we should just error out and
fall back to the default locale.

This reversed the unit test check added in d17a688525

Bug: 128934634
Test: run locale test with "he" and legacy images, recovery reports
error and doesn't crash even without default locale fall back

Change-Id: Ibdb7dd0b42348de5e392c834cce67ff02be85c24
2019-04-22 15:32:17 -07:00
..
common tests: Pick up testdata with LOCAL_TEST_DATA. 2018-04-02 14:14:29 -07:00
component Remove the FD parameter from FuseDataProvider ctor. 2019-04-15 16:53:31 -07:00
manual tests: Move ResourcesTest into component test. 2018-04-16 11:29:06 -07:00
testdata Allow RSA 4096 key in package verification 2019-03-26 12:28:23 -07:00
unit matches_locale no longer accept empty locales in the png file 2019-04-22 15:32:17 -07:00
Android.bp Move install to separate module 2019-03-29 10:27:51 -07:00
AndroidTest.xml tests: Pick up testdata with LOCAL_TEST_DATA. 2018-04-02 14:14:29 -07:00