Fix end-of-touch detection for double tap emulation
Fix end-of-touch detection for double tap emulation

Double tap emulation logic does not check the value of ABS_MT_TOUCH_MAJOR
touch input events. This makes end-of-touch detection fail on the devices
where touch input driver emits contact_length=0 events when finger is
lifted from the display.

Ignore ABS_MT_TOUCH_MAJOR events with contact_length=0 value.

[mce] Fix end-of-touch detection for double tap emulation. Fixes JB#25699

mikkoharju/mce,mlehtima/mce,spiiroin/mce,android-808/mce,maikelwever/mce,kimmoli/mce,mikkoharju/mce,spiiroin/mce,mlehtima/mce,kimmoli/mce,android-808/mce,maikelwever/mce,android-808/mce,android-808/mce,spiiroin/mce,mlehtima/mce,kimmoli/mce,mikkoharju/mce,kimmoli/mce,mlehtima/mce,maikelwever/mce,spiiroin/mce,mikkoharju/mce,maikelwever/mce