Files
frameworks_base/services/input
David Deephanphongs fbca596721 Modify getState to prefer AKEY_STATE_DOWN and AKEY_STATE_UP over AKEY_STATE_UNKNOWN.
For the getState() routines that operate on multiple devices / mappers:
Return AKEY_STATE_DOWN (or AKEY_STATE_VIRTUAL) if any of the devices/mappers
have the key down.
Otherwise, return AKEY_STATE_UP if at least one device/mapper returns AKEY_STATE_UP.
Otherwise, return AKEY_STATE_UNKNOWN.

Change-Id: I1ef6251d73af916b51f408a41c5e4adf5bdc237a
2011-11-15 11:10:07 -08:00
..
2011-08-30 21:40:28 -07:00
2011-08-30 21:40:28 -07:00
2011-08-30 21:40:28 -07:00
2011-11-08 20:24:21 -08:00
2011-08-30 21:40:28 -07:00