Update tutorial state based on the transition state to the communal scene
- Tutorial state is `not started` by default. Then be updated to `started` after
transitioning to the communal scene initially and shows the tutorial cards.
- Once transitioning away from communal scene, mark the tutorail as `completed`.
So when re-entering the communal scene, the glanceable hub will show the widgets.
- Tested with flexiglass on and off and it worked both with CommunalContainer
and SceneContainer transition layouts.
Bug: b/305734559
Flag: ACONFIG com.android.systemui.communal_hub DEVELOPMENT
Test: atest CommunalTutorialInteractorTest
Change-Id: I51125bb557b0f025149f0d4f6b20ad3c3d43de9a
7 files changed