platform_bootable_recovery/minui
Xihua Chen a7952ac141 minui: Support input device hotplug in recovery mode.
In the old code, the recovery only enumerated the input devices at the
startup, and read the input events from these devices.
So if a USB input device is probed after the recovery startup, then the
recovery can't read the events from this device.
This patch use inotify to monitor /dev/input for new added input
device, then support input device hotplug in recovery mode.

Bug: 111847510
Test: can use USB keyboard hotplugged in recovery mode
Change-Id: I7e7dcbd619d3c66a2f40a43418f5dac6a50c859e
Signed-off-by: Liu Shuo A <shuo.a.liu@intel.com>
Signed-off-by: Ming Tan <ming.tan@intel.com>
2019-08-14 14:18:58 -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: Support input device hotplug in recovery mode. 2019-08-14 14:18:58 -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 matches_locale no longer accept empty locales in the png file 2019-04-22 15:32:17 -07:00