Rename phoneHasType/emailHasType
Rename phoneHasType/emailHasType to hasPhoneType/hasEmailType.
Bug:24506801
Change-Id: Ic5f01570681f97b79f124b0222b7c17e3b1d583f
diff --git a/src/com/android/contacts/editor/RawContactReadOnlyEditorView.java b/src/com/android/contacts/editor/RawContactReadOnlyEditorView.java
index fd99ddc..76fa097 100644
--- a/src/com/android/contacts/editor/RawContactReadOnlyEditorView.java
+++ b/src/com/android/contacts/editor/RawContactReadOnlyEditorView.java
@@ -170,7 +170,7 @@
phoneNumber, phone.getPhoneNormalizedNumber(),
GeoUtil.getCurrentCountryIso(getContext()));
CharSequence phoneType = null;
- if (phone.phoneHasType()) {
+ if (phone.hasPhoneType()) {
phoneType = Phone.getTypeLabel(
res, phone.getPhoneType(), phone.getPhoneLabel());
}
@@ -192,7 +192,7 @@
continue;
}
CharSequence emailType = null;
- if (email.emailHasType()) {
+ if (email.hasEmailType()) {
emailType = Email.getTypeLabel(
res, email.getEmailType(), email.getEmailLabel());
}