summaryrefslogtreecommitdiff
path: root/src/com/android/dialer/calllog/ContactInfo.java
diff options
context:
space:
mode:
authorBrandon Maxwell <maxwelb@google.com>2015-10-23 21:07:06 +0000
committerBrandon Maxwell <maxwelb@google.com>2015-10-23 21:07:06 +0000
commitd16c3775149c6eb02daed287fe33383c1d26f322 (patch)
tree19fc0265d0051bac31730dd50abdf804c7238e05 /src/com/android/dialer/calllog/ContactInfo.java
parent327fb5bb609a6bee44a62888d671c951b19782fd (diff)
Revert "Call log respects display name order preferences"
This reverts commit 327fb5bb609a6bee44a62888d671c951b19782fd. Change-Id: I134f0a26697bec20b746a6e8f041a715d8e95136
Diffstat (limited to 'src/com/android/dialer/calllog/ContactInfo.java')
-rw-r--r--src/com/android/dialer/calllog/ContactInfo.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/com/android/dialer/calllog/ContactInfo.java b/src/com/android/dialer/calllog/ContactInfo.java
index 30f60d9d3..357c832cf 100644
--- a/src/com/android/dialer/calllog/ContactInfo.java
+++ b/src/com/android/dialer/calllog/ContactInfo.java
@@ -34,7 +34,6 @@ public class ContactInfo {
*/
public String lookupKey;
public String name;
- public String nameAlternative;
public int type;
public String label;
public String number;
@@ -71,7 +70,6 @@ public class ContactInfo {
ContactInfo other = (ContactInfo) obj;
if (!UriUtils.areEqual(lookupUri, other.lookupUri)) return false;
if (!TextUtils.equals(name, other.name)) return false;
- if (!TextUtils.equals(nameAlternative, other.nameAlternative)) return false;
if (type != other.type) return false;
if (!TextUtils.equals(label, other.label)) return false;
if (!TextUtils.equals(number, other.number)) return false;
@@ -85,11 +83,9 @@ public class ContactInfo {
@Override
public String toString() {
- return Objects.toStringHelper(this).add("lookupUri", lookupUri).add("name", name)
- .add("nameAlternative", nameAlternative)
- .add("type", type).add("label", label)
- .add("number", number).add("formattedNumber",formattedNumber)
- .add("normalizedNumber", normalizedNumber).add("photoId", photoId)
+ return Objects.toStringHelper(this).add("lookupUri", lookupUri).add("name", name).add(
+ "type", type).add("label", label).add("number", number).add("formattedNumber",
+ formattedNumber).add("normalizedNumber", normalizedNumber).add("photoId", photoId)
.add("photoUri", photoUri).add("objectId", objectId).toString();
}
}