summaryrefslogtreecommitdiffstats
path: root/src/com/android/providers/contacts
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/providers/contacts')
-rw-r--r--src/com/android/providers/contacts/GlobalSearchSupport.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/providers/contacts/GlobalSearchSupport.java b/src/com/android/providers/contacts/GlobalSearchSupport.java
index 13ead67..e939ef7 100644
--- a/src/com/android/providers/contacts/GlobalSearchSupport.java
+++ b/src/com/android/providers/contacts/GlobalSearchSupport.java
@@ -155,10 +155,10 @@ public class GlobalSearchSupport {
if (!titleIsOrganization && hasOrganization) {
text2 = organization;
- } else if (!titleIsEmail && hasEmail) {
- text2 = email;
} else if (!titleIsPhone && hasPhone) {
text2 = phoneNumber;
+ } else if (!titleIsEmail && hasEmail) {
+ text2 = email;
}
if (photoUri != null) {