Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 26884473 authored by Michal Brzezinski's avatar Michal Brzezinski Committed by Michał Brzeziński
Browse files

Allow launching only one tutorial in touchpad/keyboard tutorial

Now INTENT_TUTORIAL_SCOPE_KEY can be used to start only single tutorial for contextual education. Compared to regular flow which always show all tutorials available for given peripheral.

Two main changes:
1. Renaming INTENT_TUTORIAL_TYPE_KEY to INTENT_TUTORIAL_SCOPE_KEY
2. Adding ScreenSequence which determines if we should follow natural screen order or finish after first screen.

Test: KeyboardTouchpadTutorialViewModelTest
Test: manual using adb with broadcast e.g. adb shell am broadcast -a com.android.systemui.action.KEYBOARD_TOUCHPAD_TUTORIAL --es tutorial_scope "touchpad_home"
Fixes: 368035146
Flag: com.android.systemui.shared.new_touchpad_gestures_tutorial
Change-Id: Ife004584f73731b7c5aed4250721bb1f91ef65cc
parent f26b150c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment