summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruabdullah <uabdullah@google.com>2018-06-07 18:42:25 -0700
committerCopybara-Service <copybara-piper@google.com>2018-06-07 18:44:35 -0700
commitb383eab1662b92bcd396a007221719af029f7845 (patch)
tree4b3051b1d9a3feab5b5f4dd92918050e86d84eba
parentcd1c033eda44933b835ce6e46d6a40d5ac02e9b5 (diff)
Basic settings for SpeakEasy
Bug: 73736474 Test: Unit Test PiperOrigin-RevId: 199731478 Change-Id: I14df12aadbd2b328381ca1b9bed063a753207792
-rw-r--r--java/com/android/dialer/widget/TextViewPreference.java2
1 files changed, 2 insertions, 0 deletions
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());
}
}