qt6-bb10/src/android
Mike Achtelik d6da61f3b9 Android: Treat ACTION_CANCEL as TouchCancelEvent
Change 64d62c53c1 started treating an
ACTION_CANCEL as a TouchPointReleased. This leads to unintentional
presses, if e.g. an edge swipe for the android back gesture starts on a
MouseArea.

When Android takes possession of the motion, an ACTION_CANCEL is
delivered, which needs to be handled as such. It should not be treated
as a normal up event that triggers a press. Otherwise, we get the
above-mentioned issue, where an unintentional action is performed.
So let's use QWindowSystemInterface::handleTouchCancelEvent to treat it
as a canceled touch in Qt.

Task-number: QTBUG-72110
Pick-to: 6.2 5.15
Change-Id: I68650a180130501568e5a1e9a7f20ea469461e97
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2021-10-29 08:39:55 +02:00
..
jar Android: Treat ACTION_CANCEL as TouchCancelEvent 2021-10-29 08:39:55 +02:00
java Revert "Android: Place cursor correctly on screen when editing" 2021-10-26 20:46:24 +00:00
templates Update Gradle to 7.2.0 and Android Gradle Plugin to 7.0.2 2021-10-22 19:54:45 +02:00
CMakeLists.txt Annotate some projects that should not to be regenerated 2019-10-08 13:12:00 +00:00