Change-Id: I5ffece3af80c0c328c61975d46f4de4cb22f2282
This commit is contained in:
Koushik Dutta 2012-01-26 16:49:58 -08:00
parent 18e3f62ad2
commit ccc1fdb386

View File

@ -23,7 +23,6 @@
#include <linux/input.h>
#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;
}