summaryrefslogtreecommitdiffstats
path: root/drm
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-02-27 18:13:37 -0800
committerJames Dong <jdong@google.com>2012-02-27 18:25:31 -0800
commitc4a9976aa15929a73ab7c0979d8b2e1e9eeadcc7 (patch)
tree7b080af1f029f3d515f0a398baaf80849d4b2755 /drm
parentfd400f5f483d76a38a28155a7328a953ed3ec36f (diff)
downloadframeworks_base-c4a9976aa15929a73ab7c0979d8b2e1e9eeadcc7.zip
frameworks_base-c4a9976aa15929a73ab7c0979d8b2e1e9eeadcc7.tar.gz
frameworks_base-c4a9976aa15929a73ab7c0979d8b2e1e9eeadcc7.tar.bz2
Deprecated a mis-spelled method and replaced it with a new method
Change-Id: Id049a4effab120c3f837cde60a87efcd89a64ec6
Diffstat (limited to 'drm')
-rwxr-xr-xdrm/java/android/drm/DrmSupportInfo.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/drm/java/android/drm/DrmSupportInfo.java b/drm/java/android/drm/DrmSupportInfo.java
index 720c545..6484fa7 100755
--- a/drm/java/android/drm/DrmSupportInfo.java
+++ b/drm/java/android/drm/DrmSupportInfo.java
@@ -85,12 +85,23 @@ 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.
*
* @return The hash code value.