mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 18:28:20 +00:00
Update Gesture navigation tutorial to match new specs
- Updated strings - Updated removed 'next' button when there are followign steps - Added timeout to automatically continue the tutorial - Combined back left and right into one step Bug: 192009114 Bug: 177005427 Test: manual Change-Id: I58b9017c4d69b5d097326c7d5be156a63951fb1a
This commit is contained in:
@@ -293,8 +293,7 @@ public class DeveloperOptionsFragment extends PreferenceFragmentCompat {
|
||||
"tutorial_steps",
|
||||
new String[] {
|
||||
"HOME_NAVIGATION",
|
||||
"LEFT_EDGE_BACK_NAVIGATION",
|
||||
"RIGHT_EDGE_BACK_NAVIGATION",
|
||||
"BACK_NAVIGATION",
|
||||
"OVERVIEW_NAVIGATION"}));
|
||||
return true;
|
||||
});
|
||||
@@ -306,7 +305,7 @@ public class DeveloperOptionsFragment extends PreferenceFragmentCompat {
|
||||
launchBackTutorialPreference.setOnPreferenceClickListener(preference -> {
|
||||
startActivity(launchSandboxIntent.putExtra(
|
||||
"tutorial_steps",
|
||||
new String[] {"LEFT_EDGE_BACK_NAVIGATION", "RIGHT_EDGE_BACK_NAVIGATION"}));
|
||||
new String[] {"BACK_NAVIGATION"}));
|
||||
return true;
|
||||
});
|
||||
sandboxCategory.addPreference(launchBackTutorialPreference);
|
||||
|
||||
Reference in New Issue
Block a user