commit | b44a40442b70649d7d0ddf58a5ed8ccbba0d1fbb | [log] [tgz] |
---|---|---|
author | Jeff Chang <chengjeff@google.com> | Wed Nov 02 18:30:02 2022 +0800 |
committer | Jeff Chang <chengjeff@google.com> | Fri Nov 04 14:37:41 2022 +0800 |
tree | 4d384fa7ce96983d23f04f11db2939f8fde0a010 | |
parent | c6e40030ceb6292c12d7884c3dabd6de799463a5 [diff] |
Fix splitscreen test: SnapToDismiss The test cases verify onSnappedToDismiss callbacks properly invoked when the snap target indicates dismissing split. The callback is invoked more than once since the start position is the same as the end position when flingDividePosition is invoked. This CL updates the current position to make sure the callback is invoked once. Bug: 257348773 Test: atest SplitLayoutTests Change-Id: I5742d3db1ab6d5c80c4b4ffa1a9465655c73ab11