mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Update Gesture nav tutorial.
- Seperated back left and right edge tutorial steps - updated back left and right tutorial step strings - Removed feedback view timeout - Added accessibility focus on title when feedback view appears - Added logic to show feedback when the tutorial fragment is stopped then resumed Test: manual Bug: 169687177 Fixes: 188116424 Fixes: 188115939 Fixes: 188124784 Fixes: 188555152 Fixes: 188972969 Change-Id: I97755a455bf3fa4674955d5cc91ed8b02f484b76
This commit is contained in:
@@ -279,6 +279,7 @@ public class DeveloperOptionsFragment extends PreferenceFragmentCompat {
|
||||
new String[] {
|
||||
"HOME_NAVIGATION",
|
||||
"LEFT_EDGE_BACK_NAVIGATION",
|
||||
"RIGHT_EDGE_BACK_NAVIGATION",
|
||||
"OVERVIEW_NAVIGATION"}));
|
||||
return true;
|
||||
});
|
||||
@@ -290,7 +291,7 @@ public class DeveloperOptionsFragment extends PreferenceFragmentCompat {
|
||||
launchBackTutorialPreference.setOnPreferenceClickListener(preference -> {
|
||||
startActivity(launchSandboxIntent.putExtra(
|
||||
"tutorial_steps",
|
||||
new String[] {"LEFT_EDGE_BACK_NAVIGATION"}));
|
||||
new String[] {"LEFT_EDGE_BACK_NAVIGATION", "RIGHT_EDGE_BACK_NAVIGATION"}));
|
||||
return true;
|
||||
});
|
||||
sandboxCategory.addPreference(launchBackTutorialPreference);
|
||||
|
||||
Reference in New Issue
Block a user