summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Michal Brzezinski <brzezinski@google.com> 2024-10-30 17:24:15 +0000
committer Michał Brzeziński <brzezinski@google.com> 2024-11-21 12:43:17 +0000
commit2688447364412bd2a1dcdfc811955cf1a9f65e25 (patch)
treea28e89cf6c3035d52b264c6096f3f912fb437869 /libs/androidfw/AttributeResolution.cpp
parentf26b150c127d21081e422f6854079e6db0a78f0f (diff)
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
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions