commit | 08a4f97fcd075dac9d944b2557a1747224c8aafa | [log] [tgz] |
---|---|---|
author | omarmt <omarmt@google.com> | Fri Oct 20 13:40:49 2023 +0000 |
committer | omarmt <omarmt@google.com> | Tue Oct 24 09:46:22 2023 +0000 |
tree | eef0719a40dfb9fba531f08195bbd0f319a41297 | |
parent | b51f7231b3ac7750366fa992d76e5ce2a69fad6b [diff] |
PriorityNestedScrollConnection simplification: remove onPostFling method To simplify the logic for acquiring priority during postFling, we've added a canStartPostFling method. If this method returns true, it will call onStart and then immediately onStop (since the last event was launched during a nested scroll gesture). Test: atest PriorityNestedScrollConnectionTest Bug: 291025415 Change-Id: I7ade358f2097a15d1328f3e6706df0ec12d23acf