summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider/VoicemailContract.java
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2015-05-27 15:52:28 -0700
committerNancy Chen <nancychen@google.com>2015-05-27 15:54:55 -0700
commita042e6c74e66674379439fd082efa5a0068edcc1 (patch)
tree4578bd0add57c181637e4931a38c292fda85120f /core/java/android/provider/VoicemailContract.java
parent7cd8a7e1bdb0019e52c1eaff7c1c6b17ba0e4719 (diff)
downloadframeworks_base-a042e6c74e66674379439fd082efa5a0068edcc1.zip
frameworks_base-a042e6c74e66674379439fd082efa5a0068edcc1.tar.gz
frameworks_base-a042e6c74e66674379439fd082efa5a0068edcc1.tar.bz2
Update docstrings for VoicemailContract to be more descriptive.
Bug: 21343781 Change-Id: I221f61d4e9306a92c736a12b2cff3d9fccebdc47
Diffstat (limited to 'core/java/android/provider/VoicemailContract.java')
-rw-r--r--core/java/android/provider/VoicemailContract.java16
1 files changed, 12 insertions, 4 deletions
diff --git a/core/java/android/provider/VoicemailContract.java b/core/java/android/provider/VoicemailContract.java
index c6ea50a..e1b5a6d 100644
--- a/core/java/android/provider/VoicemailContract.java
+++ b/core/java/android/provider/VoicemailContract.java
@@ -19,6 +19,7 @@ package android.provider;
import android.Manifest;
import android.annotation.SdkConstant;
import android.annotation.SdkConstant.SdkConstantType;
+import android.content.ComponentName;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Context;
@@ -27,6 +28,7 @@ import android.database.ContentObserver;
import android.database.Cursor;
import android.net.Uri;
import android.provider.CallLog.Calls;
+import android.telecom.PhoneAccount;
import android.telecom.PhoneAccountHandle;
import android.telecom.Voicemail;
@@ -211,13 +213,17 @@ public class VoicemailContract {
// that was encoded into call log databases.
/**
- * The component name of the account in string form.
+ * The {@link ComponentName} of the {@link PhoneAccount} in string form. The
+ * {@link PhoneAccount} of the voicemail is used to differentiate voicemails from different
+ * sources.
* <P>Type: TEXT</P>
*/
public static final String PHONE_ACCOUNT_COMPONENT_NAME = "subscription_component_name";
/**
- * The identifier of a account that is unique to a specified component.
+ * The identifier of a {@link PhoneAccount} that is unique to a specified
+ * {@link ComponentName}. The {@link PhoneAccount} of the voicemail is used to differentiate
+ * voicemails from different sources.
* <P>Type: TEXT</P>
*/
public static final String PHONE_ACCOUNT_ID = "subscription_id";
@@ -340,13 +346,15 @@ public class VoicemailContract {
// PHONE_ACCOUNT_* fields.
/**
- * The component name of the account in string form.
+ * The {@link ComponentName} of the {@link PhoneAccount} in string form. The
+ * {@link PhoneAccount} differentiates voicemail sources from the same package.
* <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.
+ * The identifier of a {@link PhoneAccount} that is unique to a specified component. The
+ * {@link PhoneAccount} differentiates voicemail sources from the same package.
* <P>Type: TEXT</P>
*/
public static final String PHONE_ACCOUNT_ID = "phone_account_id";