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

Commit aff62dc1 authored by Evan Millar's avatar Evan Millar
Browse files

Fix off by one bug in favorites list call button.

bc_triaged bug: http://b/issue?id=2179352
Dr. No: Tim Sullivan
parent 02599216
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -685,8 +685,9 @@ public class ContactsListActivity extends ListActivity implements
    public void onClick(View v) {
        if (v.getId() == R.id.call_button) {
            final int position = (Integer) v.getTag();
            Cursor c =  (Cursor) mAdapter.getItem(position);
            Cursor c = mAdapter.getCursor();
            if (c != null) {
                c.moveToPosition(position);
                callContact(c);
            }
        }