Setting content description when illustration is clickable

Test: Built and tested with other cls in topic and verified talkback works properly.

Flag: None

Bug: 319747547

Change-Id: I37cbcc9bc4c830c73913cdad0734a874bd0eac7c
This commit is contained in:
Randy Pfohl
2024-02-28 23:23:14 +00:00
parent 958d17bb69
commit ea76c296d3
2 changed files with 4 additions and 0 deletions

View File

@@ -247,6 +247,7 @@ public class SystemNavigationGestureSettings extends RadioButtonPickerFragment i
switch (systemNavKey) {
case KEY_SYSTEM_NAV_GESTURAL:
if (isGestureTutorialAvailable()){
videoPref.setContentDescription(R.string.nav_tutorial_button_description);
videoPref.setOnPreferenceClickListener(preference -> {
startActivity(mLaunchSandboxIntent);
return true;