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

Commit e37d2240 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Gerrit Code Review
Browse files

Merge "fix Caller name disp not sticking for missed calls" into ics

parents e48f8b1a d6a085be
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -219,8 +219,9 @@ public class ContactInfoHelper {

        // The "contactNumber" is a regular phone number, so use the CallLog table.
        Uri uri = Uri.withAppendedPath(CallLog.Calls.CONTENT_FILTER_URI, Uri.encode(contactNumber));
        //if we ought to find something it would be in incmoning calls
        String selectionClause = " " + CallLog.Calls.TYPE + " = " + CallLog.Calls.INCOMING_TYPE;
        //if we ought to find something it would be in incmoning/missed calls
        String selectionClause = " " + CallLog.Calls.TYPE + " = " + CallLog.Calls.INCOMING_TYPE +
                                 " OR " + CallLog.Calls.TYPE + " = " + CallLog.Calls.MISSED_TYPE;
        Cursor c = mContext.getContentResolver().query(
                uri,
                CallLogQuery._PROJECTION,