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

Commit f9aa96d0 authored by qqzhou's avatar qqzhou Committed by Steve Kondik
Browse files

Dialer: fix build error in 87G

fix build error in Dialer.

Change-Id: I1e2ebed13193e7438075b3332750e2439991fd60
parent 561d8d30
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package com.android.dialer;

import android.content.ComponentName;
import android.content.ContentResolver;
import android.content.ContentUris;
import android.content.ContentValues;
+3 −4
Original line number Diff line number Diff line
@@ -140,15 +140,14 @@ public class CallLogQueryHandler extends NoNullCursorAsyncQueryHandler {

    public void fetchCalls(String filter) {
        cancelFetch();
        int requestId = newCallsRequest();
        fetchCalls(QUERY_CALLLOG_TOKEN ,requestId,filter);
        fetchCalls(QUERY_CALLLOG_TOKEN, filter);
    }

    public void fetchCalls(int token,int requestId,String filter) {
    public void fetchCalls(int token, String filter) {
        String selection = "(" + Calls.NUMBER + " like '%" + filter
                + "%'  or  " + Calls.CACHED_NAME + " like '%" + filter + "%' )";

        startQuery(token, requestId, Calls.CONTENT_URI_WITH_VOICEMAIL,
        startQuery(token, null, Calls.CONTENT_URI_WITH_VOICEMAIL,
                CallLogQuery._PROJECTION, selection, null,
                Calls.DEFAULT_SORT_ORDER);
    }
+1 −0
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@ import android.provider.Contacts.Phones;
import android.provider.Contacts.PhonesColumns;
import android.provider.Settings;
import android.telecom.PhoneAccount;
import android.telecom.PhoneAccountHandle;
import android.telecom.TelecomManager;
import android.telephony.PhoneNumberUtils;
import android.telephony.PhoneStateListener;