Set content description for the "settings" of starred contacts, priority conversations, etc

Fixes: 368124250
Test: manual, with Talkback
Flag: android.app.modes_ui
Change-Id: Ib4e8bdd5ea0931db2049925f82696d3a55f35bcb
This commit is contained in:
Matías Hernández
2024-10-01 18:47:57 +02:00
parent 9b36ed51a2
commit 58a110bc48
3 changed files with 32 additions and 10 deletions

View File

@@ -29,6 +29,7 @@ import androidx.preference.Preference;
import androidx.preference.PreferenceScreen;
import androidx.preference.TwoStatePreference;
import com.android.settings.R;
import com.android.settings.core.SubSettingLauncher;
import com.android.settingslib.notification.modes.ZenMode;
import com.android.settingslib.notification.modes.ZenModesBackend;
@@ -58,6 +59,8 @@ public class ZenModeAppsPreferenceController extends
pref.setExtraWidgetOnClickListener(p -> {
launchPrioritySettings();
});
pref.setExtraWidgetContentDescription(
mContext.getString(R.string.zen_mode_apps_priority_apps_settings));
}
}
super.displayPreference(screen);