DO NOT MERGE Take advantage of new MotionEvent flag to prevent tapjacking.

Bug: 26677796
Change-Id: I563541f0a42564b854af0f8037c1d4741c79a2ac

Fix merge conflict when cp'ing ag/903239 to mnc-mr1-release
