summaryrefslogtreecommitdiffstats
path: root/drm
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-02-27 16:41:22 -0800
committerJames Dong <jdong@google.com>2012-02-27 18:00:12 -0800
commit060526f9856e52964eaf13df8db74f5fbdcb83b1 (patch)
tree830d8f468d530b01ac950b83484eb789959f0f67 /drm
parentfd400f5f483d76a38a28155a7328a953ed3ec36f (diff)
downloadframeworks_base-060526f9856e52964eaf13df8db74f5fbdcb83b1.zip
frameworks_base-060526f9856e52964eaf13df8db74f5fbdcb83b1.tar.gz
frameworks_base-060526f9856e52964eaf13df8db74f5fbdcb83b1.tar.bz2
Deprecate default constructor for classes that should have been meant to be interfaces
o We should have not exposed these default constructors in the first place. Change-Id: Ia8bcfe77e9730021ad8870ece67c6d0eed8146ad
Diffstat (limited to 'drm')
-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() {}
}