8bc6fb3433c76428d2fffb83be8902052644fca2 |
|
05-Jan-2011 |
Colin Cross <ccross@android.com> |
am bf10797e: am f7ca6040: Fix infinite loop in init when debugging is turned off * commit 'bf10797e538f9fa252d72710bd5ecf0ef1f6f3e0': Fix infinite loop in init when debugging is turned off
|
f7ca6040616f672a6f0039d55e39c610b7c1cf91 |
|
05-Jan-2011 |
Colin Cross <ccross@android.com> |
Fix infinite loop in init when debugging is turned off If a keychord is pressed when debugging is turned off, the main event poll in init will return an event on the keychord fd, but handle_keychord never reads the data. Once this happens, the poll will always return immediately, and init enters an infinite loop. Fix it by always reading from the keychord fd, but only handling the returned keychord if debugging is enabled. Change-Id: Ie4efa98247d3cc978d275dc8a4516b32aa710278
/system/core/init/keychords.c
|
b93e5812faffd3b6c5fb349072413aace31918d8 |
|
17-Nov-2010 |
Olivier Bailly <olivier@google.com> |
Add missing headers for compilation on x86 targets Change-Id: I5f4dc797b353a0f01fa00d38375ec303bf863254
/system/core/init/keychords.c
|
ed8a7d84428ec945c48b6b53dc5a3a18fabaf683 |
|
20-Apr-2010 |
Colin Cross <ccross@android.com> |
init: Move list and log handling to list.h and log.h Change-Id: I298f575c590d0f28b7ad78747f3ebdbba56b7a27
/system/core/init/keychords.c
|
a866695ebe3a396a0ec411c0f99e0921c74c0fd2 |
|
14-Apr-2010 |
Colin Cross <ccross@android.com> |
init: Move keychords to keychords.c Change-Id: I8fba9f5f73439a451fc961f8111612dff4fb5dfd
/system/core/init/keychords.c
|