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
gui
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
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