|
Implement custom handling of hardware keys on AM57x EVM in recovery UI.
Without this it's impossible to actually select some item in recovery
menu. Insights about keys override and custom recovery_ui implementation
were given from [1,2]. This is needed because power button is not
handled as user button in input event subsystem, and long press not
being handled in RecoveryUI class on AM57x EVM board as well.
Touchscreen can't be used, as we don't copy touchscreen kernel module
into recovery image (it shouldn't be in recovery, as stated in [3]).
X15 board doesn't have hardware buttons, so this patch only affects
AM57x EVM. On X15 one should use the keyboard or mouse connected to host
USB ports.
[1] https://source.android.com/devices/tech/ota/nonab/device_code
[2] device/linaro/hikey/recovery/*
[3] https://source.android.com/devices/architecture/kernel/loadable-kernel-modules
Change-Id: Ie31c5c26f917278b565c8653f13bf1ba5db47841
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
|