commit | b0980cb3e9fc3f604b4b5436fb44b6d095181dec | [log] [tgz] |
---|---|---|
author | Shan Huang <shanh@google.com> | Wed Nov 22 16:24:25 2023 -0800 |
committer | Shan Huang <shanh@google.com> | Thu Dec 07 22:40:45 2023 -0800 |
tree | a9ac8edeeb4b3cf8568e9e843b6f1a3c27fbc585 | |
parent | 91421d2159c614bbeb41dfa693f2f77ca90d5a9a [diff] |
Delay onBackStarted() until the pointer is pilfered. This only delays the dispatching of the start event. We still start back navigation as early as the first MOVE, to allow more time to receive back navigation info and avoid jank. Bug: 308550613 Bug: 301195601 Test: atest OnBackInvokedCallbackGestureTest Test: atest BackAnimationControllerTest Flag: NONE Change-Id: I0802fd716dc5dbce7071e083bd373df5c5ddcc4c