replicant-frameworks_native/include
Jeff Brown cb203b228b Fix getSwitchState.
InputReader::getSwitchState always returns AKEY_STATE_UNKNOWN
because SwitchInputMapper::getSources() returns 0 which cannot
match any source mask including AINPUT_SOURCE_ANY.  As a result
initial lid switch detection is broken.

This change adds a new source constant AINPUT_SOURCE_SWITCH
that indicates that the source has switches.

Change-Id: I5321ecf0ce84f1c2b4535f6c163d3f4dcf9b7a9b
2011-01-19 20:35:47 -08:00
..
binder Don't propagate StrictMode over one-way Binder calls. 2010-08-31 13:16:49 -07:00
gui Replace epoll() with poll() and rename PollLoop to Looper. 2010-09-14 01:59:45 -07:00
pim
private fix [2835280] Add support for cancelling buffers to ANativeWindow 2010-10-04 20:10:11 -07:00
surfaceflinger addresses parts of 3096779 and 3097475 2010-10-14 14:57:34 -07:00
tts Update TTS plugin interface to receive engine configuration data 2010-03-18 11:52:41 -07:00
ui Fix getSwitchState. 2011-01-19 20:35:47 -08:00
utils Merge "Revert to using epoll_wait()." into gingerbread 2010-10-14 22:18:43 -07:00