PieInputFilter: Fix the check for the input device type

input sources are composites with all the supported capabilities,
not direct representations of the hardware.
A touchscreen with gesture or stylus capabilities will be a
TOUCHSCREEN|GESTURE, for example, and fail this check. Fix it.

Change-Id: Ib3a5b27be9f461245c6d010e1a7f454e9284437f
Merge "PieInputFilter: Fix the check for the input device type" into cm-10.2
Merge branch 'cm-10.2' of git://github.com/CyanogenMod/android_frameworks_base into cd-4.3