summaryrefslogtreecommitdiffstats
path: root/drm/java
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-02-28 14:33:19 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-02-28 14:33:19 -0800
commite512ad5089eef76d080fc6fdd17dfb88ad8b72e9 (patch)
treea5ab41eb26de07c303f77a31fcb221c98884b059 /drm/java
parent6fa13b5a02464281df56919009fa3af5a3f9026b (diff)
parent060526f9856e52964eaf13df8db74f5fbdcb83b1 (diff)
downloadframeworks_base-e512ad5089eef76d080fc6fdd17dfb88ad8b72e9.zip
frameworks_base-e512ad5089eef76d080fc6fdd17dfb88ad8b72e9.tar.gz
frameworks_base-e512ad5089eef76d080fc6fdd17dfb88ad8b72e9.tar.bz2
Merge "Deprecate default constructor for classes that should have been meant to be interfaces"
Diffstat (limited to 'drm/java')
-rwxr-xr-xdrm/java/android/drm/DrmStore.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/drm/java/android/drm/DrmStore.java b/drm/java/android/drm/DrmStore.java
index 2f004cf..3a77ea1 100755
--- a/drm/java/android/drm/DrmStore.java
+++ b/drm/java/android/drm/DrmStore.java
@@ -108,6 +108,12 @@ public class DrmStore {
* A trigger information object type.
*/
public static final int TRIGGER_OBJECT = 0x03;
+
+ /**
+ * @deprecated This class should have been an interface instead.
+ * The default constuctor should have not been exposed.
+ */
+ public DrmObjectType() {}
}
/**
@@ -143,6 +149,12 @@ public class DrmStore {
}
return isValid;
}
+
+ /**
+ * @deprecated This class should have been an interface instead.
+ * The default constuctor should have not been exposed.
+ */
+ public Playback() {}
}
/**
@@ -198,6 +210,12 @@ public class DrmStore {
}
return isValid;
}
+
+ /**
+ * @deprecated This class should have been an interface instead.
+ * The default constuctor should have not been exposed.
+ */
+ public Action() {}
}
/**
@@ -220,6 +238,18 @@ public class DrmStore {
* The digital rights have not been acquired for the rights-protected content.
*/
public static final int RIGHTS_NOT_ACQUIRED = 0x03;
+
+ /**
+ * @deprecated This class should have been an interface instead.
+ * The default constuctor should have not been exposed.
+ */
+ public RightsStatus() {}
}
+
+ /**
+ * @deprecated This class should have been an interface instead.
+ * The default constuctor should have not been exposed.
+ */
+ public DrmStore() {}
}