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

Commit 412359f9 authored by Debashish Chatterjee's avatar Debashish Chatterjee
Browse files

Voicemail related fields in calllog provider.

- Added a new type - VOICEMAIL_TYPE
- Added a new field 'voicemail_uri', which be set only for
  entries of type VOICEMAIL_TYPE.

Change-Id: Icf7da334dd98b31a65d71c0393b670f63f64bc68
parent d1a1c09c
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -77,9 +77,17 @@ public class CallLog {
         */
        public static final String TYPE = "type";

        /** Call log type for incoming calls. */
        public static final int INCOMING_TYPE = 1;
        /** Call log type for outgoing calls. */
        public static final int OUTGOING_TYPE = 2;
        /** Call log type for missed calls. */
        public static final int MISSED_TYPE = 3;
        /**
         * Call log type for voicemails.
         * @hide
         */
        public static final int VOICEMAIL_TYPE = 4;

        /**
         * The phone number as the user entered it.
@@ -142,6 +150,13 @@ public class CallLog {
         */
        public static final String CACHED_NUMBER_LABEL = "numberlabel";

        /**
         * URI of the voicemail entry. Populated only for {@link #VOICEMAIL_TYPE}.
         * <P>Type: TEXT</P>
         * @hide
         */
        public static final String VOICEMAIL_URI = "voicemail_uri";

        /**
         * Adds a call to the call log.
         *