Fix wrong split layout after drag drop
This cl fix two different issues but both belong to split layout
issue.
1. We will reset split layout after exitSplit, but when dismiss on
non-onStageHasChildrenChange case, it reparent both split root
children to TDA then no children remained. At this moment,
onStageHasChildrenChange will callback and we will do
flingDividerToDismiss and make layout change again then cause
split layout wrong on next split active. This should be block
by the active flag.
2. In some race condition, the applySurfaceChanges transtion might
be merged to one transition and lead to surface bounds not set as
our expectation. To avoid this issue, we should remove
unnecessary applySurfaceChanges using.
Fix: 227142506
Test: manual
Test: pass existing tests
Change-Id: Id8741c88cf778a26fe39fa5c8223344a9bef4d46
2 files changed