diff options
| author | 2011-11-14 14:50:45 -0800 | |
|---|---|---|
| committer | 2011-11-15 11:10:07 -0800 | |
| commit | fbca596721ea19daa2972639095898ce62100490 (patch) | |
| tree | 6dec24bb8d7b40c7d6c5a38b07b5872ff8d77c23 /libs/utils/CallStack.cpp | |
| parent | 28a5ec9613a824d2ec15ce5e5cec77a6fcf444d5 (diff) | |
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
Diffstat (limited to 'libs/utils/CallStack.cpp')
0 files changed, 0 insertions, 0 deletions