From ccc1fdb386129602c309ccca109ed12bc4f035e5 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Thu, 26 Jan 2012 16:49:58 -0800 Subject: [PATCH] derp Change-Id: I5ffece3af80c0c328c61975d46f4de4cb22f2282 --- minui/events.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/minui/events.c b/minui/events.c index a619df6..2918afa 100644 --- a/minui/events.c +++ b/minui/events.c @@ -23,7 +23,6 @@ #include #include "minui.h" -#include "cutils/log.h" #define MAX_DEVICES 16 #define MAX_MISC_FDS 16 @@ -70,7 +69,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) && !test_bit(EV_ABS, ev_bits)) { + if (!test_bit(EV_KEY, ev_bits) && !test_bit(EV_REL, ev_bits)) { close(fd); continue; }