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

Commit bb58303b authored by Dmitri Plotnikov's avatar Dmitri Plotnikov
Browse files

Fixing use of green button in call log

Bug: 2800236
Change-Id: Iecaa7655f1f4d5c901ad749b089563e5dab79e9d
parent 5ca7ce8c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1070,8 +1070,8 @@ public class RecentCallsListActivity extends ListActivity
            // most recent entry.
            position = 0;
        }
        final Cursor cursor = mAdapter.getCursor();
        if (cursor != null && cursor.moveToPosition(position)) {
        final Cursor cursor = (Cursor)mAdapter.getItem(position);
        if (cursor != null) {
            String number = cursor.getString(NUMBER_COLUMN_INDEX);
            if (TextUtils.isEmpty(number)
                    || number.equals(CallerInfo.UNKNOWN_NUMBER)