replicant-frameworks_native/include
Michaël Burtin 5aa3d79025 Fix getSwitchState according to device capabilities.
When querying switch state for a given device id, ensure that the device
exposes the given switch in its capabilities, report AKEY_STATE_UNKNOWN
otherwise.
This fix a bug in InputManager that reports an incorrect switch state
(down) when a device exposes at least one switch in its capabilites and
another switch is queried. For example, this can leads in always
reporting LID state open (SW_LID down) if only SW_HEADPHONE_INSERT is
exposed in capabilities.

Change-Id: I4e5265ec02af918c317673789e7948529842aa2d
Signed-off-by: Michaël Burtin <mburtin@gmail.com>
2011-07-29 15:28:02 +02:00
..
binder Don't propagate StrictMode over one-way Binder calls. 2010-08-31 13:16:49 -07:00
gui Tweak for forward-compatibility 2011-06-24 10:49:18 -07:00
pim
private fix [3361121] hang in glClear() - device unresponsive, OTA fails (DO NOT MERGE) 2011-01-25 14:19:13 -08:00
surfaceflinger minor clean-up. SurfaceFlinger doesn't need libpixelflinger.so. (DO NOT MERGE) 2011-01-25 14:18:15 -08:00
tts Update TTS plugin interface to receive engine configuration data 2010-03-18 11:52:41 -07:00
ui Fix getSwitchState according to device capabilities. 2011-07-29 15:28:02 +02:00
utils DO NOT MERGE. may fix build on some version of gcc 2011-07-27 11:31:57 -07:00