Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2131ab7 authored by Ameer Armaly's avatar Ameer Armaly Committed by Android (Google) Code Review
Browse files

Merge "TouchInteractionController: allow state transitions from STATE_DRAG."

parents c1e962bc 7429d9b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -376,7 +376,7 @@ public final class TouchInteractionController {
            throw new IllegalStateException(
                    "State transitions are not allowed without first adding a callback.");
        }
        if (mState != STATE_TOUCH_INTERACTING) {
        if (mState != STATE_TOUCH_INTERACTING && mState != STATE_DRAGGING) {
            throw new IllegalStateException(
                    "State transitions are not allowed in " + stateToString(mState));
        }