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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user