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

Commit e52fbe4a authored by Benergy Meenan Ravuri's avatar Benergy Meenan Ravuri
Browse files

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

Query IMS type calls as well for last outgoing call

Change-Id: I64b941d0482f514820e47fc2c1ed714c1768cd71
CRs-Fixed: 1067715
parent 43ff3982
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()) {