summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Debashish Chatterjee <debashishc@google.com> 2011-07-05 01:45:44 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2011-07-05 01:45:44 -0700
commit331b6c43160a8838f4ff8a09c2bcdfb3735cbc02 (patch)
treede8e10a4d176e7df12131fffca6829a7e89ef5ce
parent75c6ddf3faca3f8930a57e12bcffb320540b76e4 (diff)
parent1752ae72ce09b30244577ee0ee563caa5dbf871e (diff)
Merge "Introduced a common SOURCE_PACKAGE_FIELD in VoicemailContract class."
-rw-r--r--core/java/android/provider/VoicemailContract.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/core/java/android/provider/VoicemailContract.java b/core/java/android/provider/VoicemailContract.java
index 8e7128b05d4f..7ea0fbd84e64 100644
--- a/core/java/android/provider/VoicemailContract.java
+++ b/core/java/android/provider/VoicemailContract.java
@@ -68,6 +68,12 @@ public class VoicemailContract {
*/
public static final String EXTRA_SELF_CHANGE = "com.android.voicemail.extra.SELF_CHANGE";
+ /**
+ * Name of the source package field, which must be same across all voicemail related tables.
+ * @hide
+ */
+ public static final String SOURCE_PACKAGE_FIELD = "source_package";
+
/** Defines fields exposed through the /voicemail path of this content provider. */
public static final class Voicemails implements BaseColumns {
/** Not instantiable. */
@@ -118,7 +124,7 @@ public class VoicemailContract {
* Package name of the source application that inserted the voicemail.
* <P>Type: TEXT</P>
*/
- public static final String SOURCE_PACKAGE = "source_package";
+ public static final String SOURCE_PACKAGE = SOURCE_PACKAGE_FIELD;
/**
* Application-specific data available to the source application that
* inserted the voicemail. This is typically used to store the source
@@ -171,7 +177,7 @@ public class VoicemailContract {
* The package name of the voicemail source. There can only be a one entry per source.
* <P>Type: TEXT</P>
*/
- public static final String SOURCE_PACKAGE = "source_package";
+ public static final String SOURCE_PACKAGE = SOURCE_PACKAGE_FIELD;
/**
* 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.