Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb8be1de authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix the tutorial title is inconsistent with the description under Talkback." into rvc-dev

parents 97483a97 02606e31
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -387,11 +387,11 @@ public final class AccessibilityGestureNavigationTutorial {
    private static CharSequence getSoftwareTitle(Context context) {
        final boolean isGestureNavigationEnabled =
                AccessibilityUtil.isGestureNavigateEnabled(context);
        final boolean isTouchExploreEnabled = AccessibilityUtil.isTouchExploreEnabled(context);
        final int resId = isGestureNavigationEnabled
                ? R.string.accessibility_tutorial_dialog_title_gesture
                : R.string.accessibility_tutorial_dialog_title_button;

        return (isGestureNavigationEnabled || isTouchExploreEnabled)
                ? context.getText(R.string.accessibility_tutorial_dialog_title_gesture)
                : context.getText(R.string.accessibility_tutorial_dialog_title_button);
        return context.getText(resId);
    }

    private static ImageView createSoftwareImage(Context context) {