summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorGloria Wang <gwang@google.com>2011-03-14 17:02:58 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-03-14 17:02:58 -0700
commit132bb659b643348f29292810e42800441df41ceb (patch)
treeecfa85b3102d89a28b51a50dab6cb8c0b0981b60 /include/drm
parent9f3f36c95b87aab2c5f7cd6b6e18927f8ebfa9c4 (diff)
parent27b277779c89251f2aafcc7a56db95d264900c9d (diff)
downloadframeworks_base-132bb659b643348f29292810e42800441df41ceb.zip
frameworks_base-132bb659b643348f29292810e42800441df41ceb.tar.gz
frameworks_base-132bb659b643348f29292810e42800441df41ceb.tar.bz2
Merge "For issue 4082089 Add more info and error events into the DRM framework" into honeycomb-mr1
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/DrmInfoEvent.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/drm/DrmInfoEvent.h b/include/drm/DrmInfoEvent.h
index 7b409ff..add33d3 100644
--- a/include/drm/DrmInfoEvent.h
+++ b/include/drm/DrmInfoEvent.h
@@ -43,6 +43,8 @@ public:
//! TYPE_ACCOUNT_ALREADY_REGISTERED, when registration has been
//! already done for the given account.
static const int TYPE_ACCOUNT_ALREADY_REGISTERED = 5;
+ //! TYPE_RIGHTS_REMOVED, when the rights has been removed.
+ static const int TYPE_RIGHTS_REMOVED = 6;
/**
* The following constant values should be in sync with DrmErrorEvent.java
@@ -61,6 +63,11 @@ public:
static const int TYPE_NO_INTERNET_CONNECTION = 2005;
//! TYPE_PROCESS_DRM_INFO_FAILED, when failed to process DrmInfo.
static const int TYPE_PROCESS_DRM_INFO_FAILED = 2006;
+ //! TYPE_REMOVE_ALL_RIGHTS_FAILED, when failed to remove all the rights objects
+ //! associated with all DRM schemes.
+ static const int TYPE_REMOVE_ALL_RIGHTS_FAILED = 2007;
+ //! TYPE_ACQUIRE_DRM_INFO_FAILED, when failed to acquire DrmInfo.
+ static const int TYPE_ACQUIRE_DRM_INFO_FAILED = 2008;
public:
/**