platform_bootable_recovery/minui
Tianjie Xu ccf00a2007 minui: Handle the failures from the drm backend in gr_init
In a charger mode manual test, we encounter failures from the
MinuiBackendDrm when calling DrmEnableCrtc and Flip. To make the minui
more robust, we should fall back to another backend if drm's SetCrtc
fails. And check the value of gr_draw before dereferencing.

Bug: 80249440
Test: boot to recovery
Change-Id: Ibd1ca1fb1115fe1132684586c54eccd8fb4c3ad9
2018-06-05 17:10:23 -07:00
..
include Let gr_init proceed even if we failed to load a font file 2018-05-31 21:42:58 -07:00
Android.mk libdrm_platform is now libdrm 2017-10-19 22:30:57 -07:00
events.cpp Add missing includes. 2017-10-11 11:47:54 -07:00
graphics.cpp minui: Handle the failures from the drm backend in gr_init 2018-06-05 17:10:23 -07:00
graphics.h minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
graphics_adf.cpp minui: Fix breakage in graphics_adf. 2017-04-28 16:13:02 -07:00
graphics_adf.h minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
graphics_drm.cpp minui: Handle the failures from the drm backend in gr_init 2018-06-05 17:10:23 -07:00
graphics_drm.h minui: Handle the failures from the drm backend in gr_init 2018-06-05 17:10:23 -07:00
graphics_fbdev.cpp minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
graphics_fbdev.h minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
resources.cpp tests: Add tests for ScreenRecoveryUI. 2018-05-08 15:53:56 -07:00