Merge "Prevent removing the feedback view and callbacks when the user completes a gesture." into tm-dev

This commit is contained in:
TreeHugger Robot authored and Android (Google) Code Review committed 2022-03-24 12:17:42 +00:00
commit 181f803258
1 file changed
+1 -1
@@ -325,7 +325,7 @@ abstract class TutorialFragment extends Fragment implements OnTouchListener {
@Override
public boolean onTouch(View view, MotionEvent motionEvent) {
if (mTutorialController != null) {
if (mTutorialController != null && !isGestureComplete()) {
mTutorialController.hideFeedback();
}
// Note: Using logical-or to ensure both functions get called.