/*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
const Integration::Point& currentPoint1 = event.points[0];
const Integration::Point& currentPoint2 = event.points[1];
- if (currentPoint1.GetState() == PointState::UP || currentPoint2.GetState() == PointState::UP || currentPoint1.GetState() == PointState::INTERRUPTED)
+ if (currentPoint1.GetState() == PointState::UP || currentPoint2.GetState() == PointState::UP)
{
// One of our touch points has an Up event so change our state back to Clear.
mState = Clear;
case Started:
{
- if(event.points[0].GetState() == PointState::INTERRUPTED)
- {
- // System interruption occurred, pinch should be cancelled
- mTouchEvents.clear();
- SendPinch(Gesture::Cancelled, event);
- mState = Clear;
- mTouchEvents.clear();
- }
- else if (pointCount != 2)
+ if (pointCount != 2)
{
// Send pinch finished event
SendPinch(Gesture::Finished, event);