From b383eab1662b92bcd396a007221719af029f7845 Mon Sep 17 00:00:00 2001 From: uabdullah Date: Thu, 7 Jun 2018 18:42:25 -0700 Subject: Basic settings for SpeakEasy Bug: 73736474 Test: Unit Test PiperOrigin-RevId: 199731478 Change-Id: I14df12aadbd2b328381ca1b9bed063a753207792 --- java/com/android/dialer/widget/TextViewPreference.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'java/com') diff --git a/java/com/android/dialer/widget/TextViewPreference.java b/java/com/android/dialer/widget/TextViewPreference.java index 2c1885c4d..1c479d404 100644 --- a/java/com/android/dialer/widget/TextViewPreference.java +++ b/java/com/android/dialer/widget/TextViewPreference.java @@ -108,6 +108,8 @@ public class TextViewPreference extends Preference { setTitle(textResourceId); } else if (text != null) { setTitle(text); + } else if (getTitleRes() != 0) { + setTitle(getTitleRes()); } } -- cgit v1.2.3