Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ccd80cc7 authored by Daniel Lehmann's avatar Daniel Lehmann
Browse files

Fixed the short circuiting expression DO NOT MERGE

Bug:4136579
Change-Id: I65435a5dd214106acf71d3653e810c1fc071af8f
parent 3b8fb1e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.