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

Commit 109dabdb authored by Nancy Chen's avatar Nancy Chen Committed by Etan Cohen
Browse files

Add multi-SIM fields to VoicemailContract.Status.

In order to support multi-SIM visual voicemail, we need to record the
appropriate phone account in the VoicemailContract.Status table.

Bug: 19236241
Change-Id: I89742ab0aa7780de5cd525731685279ff5024c5e
parent 9b09c15c
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -25876,6 +25876,8 @@ package android.provider {
    field public static final int NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING = 2; // 0x2
    field public static final int NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING = 2; // 0x2
    field public static final int NOTIFICATION_CHANNEL_STATE_NO_CONNECTION = 1; // 0x1
    field public static final int NOTIFICATION_CHANNEL_STATE_NO_CONNECTION = 1; // 0x1
    field public static final int NOTIFICATION_CHANNEL_STATE_OK = 0; // 0x0
    field public static final int NOTIFICATION_CHANNEL_STATE_OK = 0; // 0x0
    field public static final java.lang.String PHONE_ACCOUNT_COMPONENT_NAME = "phone_account_component_name";
    field public static final java.lang.String PHONE_ACCOUNT_ID = "phone_account_id";
    field public static final java.lang.String SETTINGS_URI = "settings_uri";
    field public static final java.lang.String SETTINGS_URI = "settings_uri";
    field public static final java.lang.String SOURCE_PACKAGE = "source_package";
    field public static final java.lang.String SOURCE_PACKAGE = "source_package";
    field public static final java.lang.String VOICEMAIL_ACCESS_URI = "voicemail_access_uri";
    field public static final java.lang.String VOICEMAIL_ACCESS_URI = "voicemail_access_uri";
+18 −1
Original line number Original line Diff line number Diff line
@@ -222,10 +222,27 @@ public class VoicemailContract {
        private Status() {
        private Status() {
        }
        }
        /**
        /**
         * The package name of the voicemail source. There can only be a one entry per source.
         * The package name of the voicemail source. There can only be a one entry per account
         * per source.
         * <P>Type: TEXT</P>
         * <P>Type: TEXT</P>
         */
         */
        public static final String SOURCE_PACKAGE = SOURCE_PACKAGE_FIELD;
        public static final String SOURCE_PACKAGE = SOURCE_PACKAGE_FIELD;

        // Note: Multiple entries may exist for a single source if they are differentiated by the
        // PHONE_ACCOUNT_* fields.

        /**
         * The component name of the account in string form.
         * <P>Type: TEXT</P>
         */
        public static final String PHONE_ACCOUNT_COMPONENT_NAME = "phone_account_component_name";

        /**
         * The identifier of a account that is unique to a specified component.
         * <P>Type: TEXT</P>
         */
        public static final String PHONE_ACCOUNT_ID = "phone_account_id";

        /**
        /**
         * The URI to call to invoke source specific voicemail settings screen. On a user request
         * The URI to call to invoke source specific voicemail settings screen. On a user request
         * to setup voicemail an intent with action VIEW with this URI will be fired by the system.
         * to setup voicemail an intent with action VIEW with this URI will be fired by the system.