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

Commit bc06988d authored by Michael Dooley's avatar Michael Dooley Committed by android-build-merger
Browse files

Merge "Adding voicemail transcription state to the database" into oc-dev

am: 4794cbf5

Change-Id: I121f40cb64c546b0f6e140943d5a263ee05b05b4
parents 1dd82028 4794cbf5
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -332,6 +332,13 @@ public class CallLog {
         */
        public static final String TRANSCRIPTION = "transcription";

        /**
         * State of voicemail transcription entry. This will only be populated for call log
         * entries of type {@link #VOICEMAIL_TYPE}.
         * @hide
         */
        public static final String TRANSCRIPTION_STATE = "transcription_state";

        /**
         * Whether this item has been read or otherwise consumed by the user.
         * <p>
+33 −0
Original line number Diff line number Diff line
@@ -231,6 +231,39 @@ public class VoicemailContract {
         * <P>Type: TEXT</P>
         */
        public static final String TRANSCRIPTION = "transcription";
        /**
         * The state of the voicemail transcription.
         * <P> Possible values: {@link #TRANSCRIPTION_NOT_STARTED},
         * {@link #TRANSCRIPTION_IN_PROGRESS}, {@link #TRANSCRIPTION_FAILED},
         * {@link #TRANSCRIPTION_AVAILABLE}.
         * <P>Type: INTEGER</P>
         * @hide
         */
        public static final String TRANSCRIPTION_STATE = "transcription_state";
        /**
         * Value of {@link #TRANSCRIPTION_STATE} when the voicemail transcription has not yet
         * been attempted.
         * @hide
         */
        public static final int TRANSCRIPTION_NOT_STARTED = 0;
        /**
         * Value of {@link #TRANSCRIPTION_STATE} when the voicemail transcription has begun
         * but is not yet complete.
         * @hide
         */
        public static final int TRANSCRIPTION_IN_PROGRESS = 1;
        /**
         * Value of {@link #TRANSCRIPTION_STATE} when the voicemail transcription has
         * been attempted and failed.
         * @hide
         */
        public static final int TRANSCRIPTION_FAILED = 2;
        /**
         * Value of {@link #TRANSCRIPTION_STATE} when the voicemail transcription has
         * completed and the result has been stored in the {@link #TRANSCRIPTION} column.
         * @hide
         */
        public static final int TRANSCRIPTION_AVAILABLE = 3;
        /**
         * Path to the media content file. Internal only field.
         * @hide