Merge "Only display single line for title" into rvc-qpr-dev

This commit is contained in:
TreeHugger Robot
2021-03-16 23:29:09 +00:00
committed by Android (Google) Code Review

View File

@@ -47,6 +47,7 @@ public class FilterTouchesSwitchPreference 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) {