aboutsummaryrefslogtreecommitdiffstats
path: root/minui
diff options
context:
space:
mode:
authorKoushik Dutta <koushd@gmail.com>2012-07-15 15:30:43 -0700
committerKoushik Dutta <koushd@gmail.com>2012-07-15 15:30:43 -0700
commit214cc5d092ba8a4d17cc4e9ad4a351c408e2b393 (patch)
tree43ceb943b683dc9810ac336b795b76b35868bb72 /minui
parent05b41c988b704913045aa776ee64298400e72c83 (diff)
downloadbootable_recovery-214cc5d092ba8a4d17cc4e9ad4a351c408e2b393.zip
bootable_recovery-214cc5d092ba8a4d17cc4e9ad4a351c408e2b393.tar.gz
bootable_recovery-214cc5d092ba8a4d17cc4e9ad4a351c408e2b393.tar.bz2
forward port CWM to jellybean
Change-Id: Ibd66afe03c9a2c183e4c7db35fe34adf0f5e24ff
Diffstat (limited to 'minui')
-rw-r--r--minui/events.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/minui/events.c b/minui/events.c
index 2918afa..a619df6 100644
--- a/minui/events.c
+++ b/minui/events.c
@@ -23,6 +23,7 @@
#include <linux/input.h>
#include "minui.h"
+#include "cutils/log.h"
#define MAX_DEVICES 16
#define MAX_MISC_FDS 16
@@ -69,7 +70,7 @@ int ev_init(ev_callback input_cb, void *data)
/* TODO: add ability to specify event masks. For now, just assume
* that only EV_KEY and EV_REL event types are ever needed. */
- if (!test_bit(EV_KEY, ev_bits) && !test_bit(EV_REL, ev_bits)) {
+ if (!test_bit(EV_KEY, ev_bits) && !test_bit(EV_REL, ev_bits) && !test_bit(EV_ABS, ev_bits)) {
close(fd);
continue;
}