From 57794d10257cc38b390035a05c0b8f41b112b2f8 Mon Sep 17 00:00:00 2001 From: Saumya Prakash Date: Thu, 20 Feb 2025 21:54:25 +0000 Subject: [PATCH] Add developer option to launch gesture nav tutorial This change allows you to start the full, continuous gesture navigation tutorial by tapping the "Launch Full Gesture Tutorial" option in launcher developer settings. Fix: 398018882 Test: Go to developer settings and launch tutorial. It should be continuous and automatically move on to each gesture. Flag: EXEMPT bugfix Change-Id: I5da176e13b4403e1748b9ccba74b24145dafed2c --- .../launcher3/uioverrides/flags/DevOptionsUiHelper.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/quickstep/src/com/android/launcher3/uioverrides/flags/DevOptionsUiHelper.kt b/quickstep/src/com/android/launcher3/uioverrides/flags/DevOptionsUiHelper.kt index 7c09e9a8ec..0d2cfbf028 100644 --- a/quickstep/src/com/android/launcher3/uioverrides/flags/DevOptionsUiHelper.kt +++ b/quickstep/src/com/android/launcher3/uioverrides/flags/DevOptionsUiHelper.kt @@ -315,6 +315,12 @@ class DevOptionsUiHelper(c: Context, attr: AttributeSet?) : PreferenceGroup(c, a intent = Intent(launchSandboxIntent).putExtra("use_tutorial_menu", true) } ) + addPreference( + Preference(context).apply { + title = "Launch Full Gesture Tutorial" + intent = Intent(launchSandboxIntent).putExtra("use_tutorial_menu", false) + } + ) addPreference( Preference(context).apply { title = "Launch Back Tutorial"