diff options
| author | 2024-10-14 16:50:30 -0700 | |
|---|---|---|
| committer | 2024-10-21 10:53:58 -0700 | |
| commit | 7e1354f38d7d947632ea0c60394caffbbc46de4e (patch) | |
| tree | 2e4f0c27d75e570e6b8b7a84afac14ce50ccc63d /api/api_test.go | |
| parent | adf6bb840d6da923aec5ef6d8a0a1d006c4c73df (diff) | |
Remove onStageHasChildrenChanged() from StageCoordinator
* sendStatusChanged() was only being called from onTaskAppeared()
for when the root task appears for a given stage.
* sendStatusChanged() had two callbacks, one if the children in a stage
changed and one if the visibility of a stage's root task changed.
The former is not affected by onTaskAppeared(), so we can directly call
the visibility callback instead of going through sendStatusChanged()
* This means that the other callback for children changes is no longer
being used, so we remove that one altogether
Bug: 349828130
Flag: EXEMPT refactor
Test: Split works as expected
Change-Id: Ie7cc642bdc761b7e916e53354ac21552e77a5de8
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions