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
This commit is contained in:
Nancy Chen
2015-02-02 14:37:24 -08:00
committed by Etan Cohen
parent 9b09c15c35
commit 109dabdba1
2 changed files with 20 additions and 1 deletions

View File

@@ -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";

View File

@@ -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.