diff options
| -rw-r--r-- | packages/SystemUI/res/values/strings.xml | 5 | ||||
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/touchpad/tutorial/ui/composable/BackGestureTutorialScreen.kt | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml index 2bd97d9a2f91..6b49409cc430 100644 --- a/packages/SystemUI/res/values/strings.xml +++ b/packages/SystemUI/res/values/strings.xml @@ -3646,7 +3646,10 @@ <!-- Touchpad back gesture action name in tutorial [CHAR LIMIT=NONE] --> <string name="touchpad_back_gesture_action_title">Go back</string> <!-- Touchpad back gesture guidance in gestures tutorial [CHAR LIMIT=NONE] --> - <string name="touchpad_back_gesture_guidance">To go back, swipe left or right using three fingers anywhere on the touchpad.</string> + <string name="touchpad_back_gesture_guidance">To go back, swipe left or right using three fingers anywhere on the touchpad.\n\nYou can also use the keyboard shortcut +Action + ESC for this.</string> + <!-- Text shown to the user after they complete back gesture tutorial [CHAR LIMIT=NONE] --> + <string name="touchpad_back_gesture_finished">You completed the go back gesture.</string> <string name="touchpad_back_gesture_animation_content_description">Touchpad showing three fingers moving right and left</string> <string name="touchpad_back_gesture_screen_animation_content_description">Device screen showing animation for back gesture</string> diff --git a/packages/SystemUI/src/com/android/systemui/touchpad/tutorial/ui/composable/BackGestureTutorialScreen.kt b/packages/SystemUI/src/com/android/systemui/touchpad/tutorial/ui/composable/BackGestureTutorialScreen.kt index 4e1829ae5283..51dfef0b6b6a 100644 --- a/packages/SystemUI/src/com/android/systemui/touchpad/tutorial/ui/composable/BackGestureTutorialScreen.kt +++ b/packages/SystemUI/src/com/android/systemui/touchpad/tutorial/ui/composable/BackGestureTutorialScreen.kt @@ -182,7 +182,9 @@ private fun GestureTutorialContent( if (gestureState == FINISHED) R.string.touchpad_tutorial_gesture_done else R.string.touchpad_back_gesture_action_title, titleColor = screenColors.titleColor, - bodyTextId = R.string.touchpad_back_gesture_guidance, + bodyTextId = + if (gestureState == FINISHED) R.string.touchpad_back_gesture_finished + else R.string.touchpad_back_gesture_guidance, modifier = Modifier.weight(1f) ) Spacer(modifier = Modifier.width(76.dp)) |