platform_bootable_recovery/minui
Tianjie Xu 2430e2978b Fix matches_locale function
matches_locale was expecting input locale string to have at most one
underscore; as a result "zh_CN_#Hans" ignores "zh_CN" and matches into
"zh". Fix the match function and add unit tests.

Bug: 27837319
Change-Id: I4e8a66f91cae6ac2a46b6bf21f670d5ea564c7c8
2016-04-20 14:50:35 -07:00
..
Android.mk recovery: Switch to clang 2015-11-16 14:28:40 -08:00
events.cpp Check all lseek calls succeed. 2015-04-29 21:14:56 -07:00
font_10x18.h minui: do not use flexible array initialization 2013-11-26 03:21:13 +00:00
graphics.cpp Add drm support to minui 2015-07-01 15:27:48 -07:00
graphics.h Add drm support to minui 2015-07-01 15:27:48 -07:00
graphics_adf.cpp Don't use typedefs that hide *s. 2015-04-15 10:58:56 -07:00
graphics_drm.cpp Add drm support to minui 2015-07-01 15:27:48 -07:00
graphics_fbdev.cpp Revert "Byte swap to support BGRA in recovery mode" 2016-01-08 10:15:57 -08:00
minui.h Fix matches_locale function 2016-04-20 14:50:35 -07:00
mkfont.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
resources.cpp Fix matches_locale function 2016-04-20 14:50:35 -07:00