Merge "Fix "appearance glitch" in Back Arrow" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
bb691ff048
@@ -321,7 +321,10 @@ class BackPanelController private constructor(
|
|||||||
velocityTracker = null
|
velocityTracker = null
|
||||||
}
|
}
|
||||||
MotionEvent.ACTION_CANCEL -> {
|
MotionEvent.ACTION_CANCEL -> {
|
||||||
updateArrowState(GestureState.CANCELLED)
|
// Receiving a CANCEL implies that something else intercepted
|
||||||
|
// the gesture, i.e., the user did not cancel their gesture.
|
||||||
|
// Therefore, disappear immediately, with minimum fanfare.
|
||||||
|
updateArrowState(GestureState.GONE)
|
||||||
velocityTracker = null
|
velocityTracker = null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user