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 github.com:CyanogenMod/android_frameworks_base into cm-10.2

Conflicts:
	services/java/com/android/server/pie/PieInputFilter.java

Change-Id: I1155f460988893acad7c7d4e738cf936abcf2338