platform_bootable_recovery/minui
xunchang 9d05c8a357 Fall back to en-US if localized bitmap is missing for a locale
We used to show the image for the last locale or an empty image, if
the localized image is missing for a specific locale. As the default
english one is more meaningful to users, we should just error out and
fall back to use the default locale when the image loading fails.

Bug: 128934634
Test: run graphic test, locale test
Change-Id: Iafd3e8466aec63b4952d1959b2a3d37e358677d4
2019-04-22 14:39:51 -07:00
..
include minui: Managed FDs with smart pointers. 2019-03-11 15:59:09 -07:00
Android.bp recovery uses more shared libraries. 2018-08-08 14:26:27 -07:00
events.cpp minui: Managed FDs with smart pointers. 2019-03-11 15:59:09 -07:00
graphics.cpp minui: Move GRSurface into a class. 2018-10-22 18:18:02 -07:00
graphics.h minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
graphics_adf.cpp Use O_CLOEXEC at a few places. 2019-03-01 14:24:41 -08:00
graphics_adf.h minui: GRSurface::Create() computes data_size on its own. 2018-11-26 22:46:19 -08:00
graphics_drm.cpp Use O_CLOEXEC at a few places. 2019-03-01 14:24:41 -08:00
graphics_drm.h minui: GRSurface::Create() computes data_size on its own. 2018-11-26 22:46:19 -08:00
graphics_fbdev.cpp Use O_CLOEXEC at a few places. 2019-03-01 14:24:41 -08:00
graphics_fbdev.h minui: GRSurface::Create() computes data_size on its own. 2018-11-26 22:46:19 -08:00
resources.cpp Fall back to en-US if localized bitmap is missing for a locale 2019-04-22 14:39:51 -07:00