mCanFlick is set to false at line 621 and 620 sets testFlick to false. TestFlickingMode is the only other part that changes mCanFlick. So that should not be needed. That leads to the fact that meventEnd mType is also always MultiTouchInput::MULTITOUCH_CANCEL.