diff options
author | Daniel Lehmann <lehmannd@google.com> | 2011-03-21 20:38:05 -0700 |
---|---|---|
committer | Daniel Lehmann <lehmannd@google.com> | 2011-03-21 20:38:05 -0700 |
commit | ccd80cc7c9a6cd5f6685fc95a5bfa8a82436edae (patch) | |
tree | 3d8ddef432964610d70964626045917a8c280279 | |
parent | 3b8fb1e4366b373fed4836aa6e18f2fbba65f9bd (diff) | |
download | packages_apps_Contacts-ccd80cc7c9a6cd5f6685fc95a5bfa8a82436edae.tar.gz packages_apps_Contacts-ccd80cc7c9a6cd5f6685fc95a5bfa8a82436edae.tar.bz2 packages_apps_Contacts-ccd80cc7c9a6cd5f6685fc95a5bfa8a82436edae.zip |
Fixed the short circuiting expression DO NOT MERGE
Bug:4136579
Change-Id: I65435a5dd214106acf71d3653e810c1fc071af8f
-rw-r--r-- | src/com/android/contacts/ContactsListActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/contacts/ContactsListActivity.java b/src/com/android/contacts/ContactsListActivity.java index ac6a3a873..0b6fcf614 100644 --- a/src/com/android/contacts/ContactsListActivity.java +++ b/src/com/android/contacts/ContactsListActivity.java @@ -3121,7 +3121,7 @@ public class ContactsListActivity extends ListActivity implements View.OnCreateC nameView.setText(mUnknownNameText); } - boolean hasPhone = cursor.getColumnCount() >= SUMMARY_HAS_PHONE_COLUMN_INDEX + boolean hasPhone = cursor.getColumnCount() > SUMMARY_HAS_PHONE_COLUMN_INDEX && cursor.getInt(SUMMARY_HAS_PHONE_COLUMN_INDEX) != 0; // Make the call button visible if requested. |