diff options
| author | Debashish Chatterjee <debashishc@google.com> | 2011-07-04 13:39:08 +0100 |
|---|---|---|
| committer | Debashish Chatterjee <debashishc@google.com> | 2011-07-04 15:19:23 +0100 |
| commit | 9b8dd63445b62783d544fef030518ce8a0fb0691 (patch) | |
| tree | abd17b5ca41c6fcf866b740b8a48d25300cc3a22 /core/java | |
| parent | fc8a3b222aa8b03bf2acbaa4db04acb5e91dc6c0 (diff) | |
Got rid of deprecated fields from VoicemailContract api.
No one should now be using these fields. SOURCE_CONTENT_URI was not
marked deprecated, but following a recent change in content provider
this field is also no more in use.
Change-Id: I58bb7872ba2f6cec169499d1a01d755232dde2f0
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/provider/VoicemailContract.java | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/core/java/android/provider/VoicemailContract.java b/core/java/android/provider/VoicemailContract.java index d99c7605bebe..8e7128b05d4f 100644 --- a/core/java/android/provider/VoicemailContract.java +++ b/core/java/android/provider/VoicemailContract.java @@ -53,18 +53,6 @@ public class VoicemailContract { /** The authority used by the voicemail provider. */ public static final String AUTHORITY = "com.android.voicemail"; /** - * URI to insert/retrieve all voicemails. - * @deprecated - */ - public static final Uri CONTENT_URI = - Uri.parse("content://" + AUTHORITY + "/voicemail"); - /** - * URI to insert/retrieve voicemails by a given voicemail source. - * @deprecated - */ - public static final Uri CONTENT_URI_SOURCE = - Uri.parse("content://" + AUTHORITY + "/voicemail/source/"); - /** * Parameter key used in the URI to specify the voicemail source package name. * <p> This field must be set in all requests that originate from a voicemail source. */ @@ -80,23 +68,15 @@ public class VoicemailContract { */ public static final String EXTRA_SELF_CHANGE = "com.android.voicemail.extra.SELF_CHANGE"; - /** - * The mime type for a collection of voicemails. - * @deprecated */ - public static final String DIR_TYPE = "vnd.android.cursor.dir/voicemails"; - /** Defines fields exposed through the /voicemail path of this content provider. */ public static final class Voicemails implements BaseColumns { /** Not instantiable. */ private Voicemails() { } - /** URI to insert/retrieve voicemails by a given voicemail source. */ + /** URI to insert/retrieve voicemails. */ public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/voicemail"); - /** URI to insert/retrieve voicemails by a given voicemail source. */ - public static final Uri CONTENT_URI_SOURCE = - Uri.parse("content://" + AUTHORITY + "/voicemail/source/"); /** The mime type for a collection of voicemails. */ public static final String DIR_TYPE = "vnd.android.cursor.dir/voicemails"; |
