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

Commit e68f1b14 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "IMS: Query IMS type calls as well for last outgoing call"

parents 6ff025e9 e52fbe4a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -203,6 +203,8 @@ public class CallLog {
         * @hide
         */
        public static final int ANSWERED_EXTERNALLY_TYPE = 7;
        /** Call log type for outgoing IMS calls. */
        private static final int OUTGOING_IMS_TYPE = 9;
        /** Call log type for missed IMS calls. */
        private static final int MISSED_IMS_TYPE = 10;
        /**
@@ -826,7 +828,8 @@ public class CallLog {
                c = resolver.query(
                    CONTENT_URI,
                    new String[] {NUMBER},
                    TYPE + " = " + OUTGOING_TYPE,
                    TYPE + " = " + OUTGOING_TYPE + " OR " + TYPE + " = " + OUTGOING_IMS_TYPE +
                            " OR " + TYPE + " = " + OUTGOING_WIFI_TYPE,
                    null,
                    DEFAULT_SORT_ORDER + " LIMIT 1");
                if (c == null || !c.moveToFirst()) {