use more correct case condition when consume input

InputMessage::TYPE_MOTION instead of AINPUT_EVENT_TYPE_MOTION
Although these two values are the same

Test: input

Change-Id: Ic1478cf2a5ef1706844d89428ef3a7e999877bcc
Signed-off-by: gaoshang <gaoshang@xiaomi.com>
1 file changed