Merge "Only display single line for title" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-03-15 02:46:31 +00:00
committed by Android (Google) Code Review

View File

@@ -51,6 +51,7 @@ public class AppSwitchPreference extends SwitchPreference {
@Override
public void onBindViewHolder(PreferenceViewHolder holder) {
setSingleLineTitle(true);
super.onBindViewHolder(holder);
final View switchView = holder.findViewById(android.R.id.switch_widget);
if (switchView != null) {