summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGloria Wang <gwang@google.com>2011-03-14 12:04:15 -0700
committerGloria Wang <gwang@google.com>2011-03-14 15:29:08 -0700
commit505bd99ec8bed47c438ac3bb4641ce5f7ba972e7 (patch)
tree8f08501f8b02630ca11dac37ccc0d8061823816b
parent8980847d149cfca1d0564d9454c262764b6ee164 (diff)
downloadframeworks_av-505bd99ec8bed47c438ac3bb4641ce5f7ba972e7.zip
frameworks_av-505bd99ec8bed47c438ac3bb4641ce5f7ba972e7.tar.gz
frameworks_av-505bd99ec8bed47c438ac3bb4641ce5f7ba972e7.tar.bz2
For issue 4082089
Add more info and error events into the DRM framework Change-Id: I0bb3251c5947fc8e977d478e1ba46b242cb97e9d
-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:
/**