From c4a9976aa15929a73ab7c0979d8b2e1e9eeadcc7 Mon Sep 17 00:00:00 2001 From: James Dong Date: Mon, 27 Feb 2012 18:13:37 -0800 Subject: Deprecated a mis-spelled method and replaced it with a new method Change-Id: Id049a4effab120c3f837cde60a87efcd89a64ec6 --- drm/java/android/drm/DrmSupportInfo.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'drm/java') diff --git a/drm/java/android/drm/DrmSupportInfo.java b/drm/java/android/drm/DrmSupportInfo.java index 720c545282a9..6484fa71dbd2 100755 --- a/drm/java/android/drm/DrmSupportInfo.java +++ b/drm/java/android/drm/DrmSupportInfo.java @@ -85,11 +85,22 @@ public class DrmSupportInfo { * Retrieves the DRM plug-in (agent) description. * * @return The plug-in description. + * @deprecated The method name is mis-spelled, and it is replaced by + * {@link #getDescription()}. */ public String getDescriprition() { return mDescription; } + /** + * Retrieves the DRM plug-in (agent) description. + * + * @return The plug-in description. + */ + public String getDescription() { + return mDescription; + } + /** * Overridden hash code implementation. * -- cgit v1.2.3-59-g8ed1b