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

Commit 38fec3be authored by Stephen Bird's avatar Stephen Bird
Browse files

Add InCall providers call logs into the statistics pages

Ticket: CD-587
Change-Id: I3f1baacb799af5f2d02e98bb1a17e5cac1635202
parent f6713d2a
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -36,6 +36,8 @@ import android.util.Log;
import com.android.contacts.common.util.UriUtils;
import com.android.dialer.calllog.ContactInfo;
import com.android.dialer.calllog.PhoneAccountUtils;
import com.cyanogen.ambient.incall.CallLogConstants;

import com.google.common.collect.Lists;

import java.lang.ref.WeakReference;
@@ -137,9 +139,9 @@ public class CallStatsQueryHandler extends AsyncQueryHandler {
            }
        }

        startQuery(QUERY_CALLS_TOKEN, null, Calls.CONTENT_URI, CallStatsQuery._PROJECTION,
                selection.toString(), selectionArgs.toArray(EMPTY_STRING_ARRAY),
                Calls.NUMBER + " ASC");
        startQuery(QUERY_CALLS_TOKEN, null, CallLogConstants.CONTENT_ALL_URI,
                CallStatsQuery._PROJECTION, selection.toString(),
                selectionArgs.toArray(EMPTY_STRING_ARRAY), Calls.NUMBER + " ASC");
    }

    @Override