diff options
author | Dima Zavin <dima@android.com> | 2011-10-13 13:30:00 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-10-13 13:30:00 -0700 |
commit | 6606dc9532b20f55d18e0d9cc925358aa1ceb119 (patch) | |
tree | 7a80b92ef9776d082bd62501ce72a273baccfdae | |
parent | d6da4d4fa58b40f66a4bb5b7b0d15bfe7ab7d8c9 (diff) | |
parent | 471157a393d052aece013d1f8b7701aaadca3b6c (diff) | |
download | system_core-6606dc9532b20f55d18e0d9cc925358aa1ceb119.zip system_core-6606dc9532b20f55d18e0d9cc925358aa1ceb119.tar.gz system_core-6606dc9532b20f55d18e0d9cc925358aa1ceb119.tar.bz2 |
am 471157a3: charger: key state being the same is not an error
* commit '471157a393d052aece013d1f8b7701aaadca3b6c':
charger: key state being the same is not an error
-rw-r--r-- | charger/charger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/charger/charger.c b/charger/charger.c index aface7e..03280bf 100644 --- a/charger/charger.c +++ b/charger/charger.c @@ -756,7 +756,7 @@ static int set_key_callback(int code, int value, void *data) /* ignore events that don't modify our state */ if (charger->keys[code].down == down) - return -1; + return 0; /* only record the down even timestamp, as the amount * of time the key spent not being pressed is not useful */ |