Merge "Add ellipsis to dnd notification settings" into rvc-dev am: c8aae85e06 am: 3dc88504b6 am: 4f9a27edc7 am: 44ee2589d8

Change-Id: I9e6aa922d66a5a3580846145705be252626414ff
This commit is contained in:
TreeHugger Robot
2020-04-09 03:21:55 +00:00
committed by Automerger Merge Worker

View File

@@ -18,6 +18,7 @@ package com.android.settings.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.View;
import android.widget.TextView;
@@ -95,6 +96,7 @@ public class DisabledCheckBoxPreference extends CheckBoxPreference {
if (title != null) {
title.setSingleLine(false);
title.setMaxLines(2);
title.setEllipsize(TextUtils.TruncateAt.END);
}
}