b8a959b00f
The following variables in recovery ui were protected by key_queue_mutex. But the purpose of key_queue_mutex is to protect the key_queue, which will be changed after we already have a key code. So getting the key pressed should be orthogonal to the key queue. And adding a mutex will help to avoid deadlocks in b/135078366. Variables include: char key_pressed[KEY_MAX + 1]; int key_last_down; bool key_long_press; int key_down_count; bool enable_reboot; Bug: 135078366 Test: boot into recovery and press keys Change-Id: Ie2cfcf1f2fec49b53f8fac97aa9a2c60f15b84f9 |
||
---|---|---|
.. | ||
include/recovery_ui | ||
Android.bp | ||
default_device.cpp | ||
device.cpp | ||
screen_ui.cpp | ||
stub_ui.cpp | ||
ui.cpp | ||
vr_device.cpp | ||
vr_ui.cpp | ||
wear_device.cpp | ||
wear_ui.cpp |