summaryrefslogtreecommitdiffstats
path: root/init/keychords.c
Commit message (Collapse)AuthorAgeFilesLines
* resolved conflicts for merge of 95a41f6b to stage-aosp-masterColin Cross2013-06-171-4/+3
|\ | | | | | | Change-Id: Icfae29edf989fb43a7f0b8bda188a9807f76a3b9
| * init: switch property_get to use __system_property_getColin Cross2013-06-171-6/+5
| | | | | | | | | | | | (cherry picked from commit 2deedfe0b1ac86ebd62d19cf7da9e7dcb508ab09) Change-Id: If3fba2cc1dd5c167b0924ddfe42dbe2e6387208a
* | Only handle keycodes when adb is enabled.Jeff Sharkey2013-04-041-6/+2
|/ | | | | | | This prevents accidental bugreports on userdebug/eng devices. Bug: 8541006 Change-Id: Iefd15826090fd91434403f197cfd166e64400224
* am bf10797e: am f7ca6040: Fix infinite loop in init when debugging is turned offColin Cross2011-01-041-6/+6
|\ | | | | | | | | * commit 'bf10797e538f9fa252d72710bd5ecf0ef1f6f3e0': Fix infinite loop in init when debugging is turned off
| * Fix infinite loop in init when debugging is turned offColin Cross2011-01-041-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Add missing headers for compilation on x86 targetsOlivier Bailly2010-11-171-0/+2
|/ | | | Change-Id: I5f4dc797b353a0f01fa00d38375ec303bf863254
* init: Move list and log handling to list.h and log.hColin Cross2010-04-211-0/+1
| | | | Change-Id: I298f575c590d0f28b7ad78747f3ebdbba56b7a27
* init: Move keychords to keychords.cColin Cross2010-04-131-0/+126
Change-Id: I8fba9f5f73439a451fc961f8111612dff4fb5dfd