summaryrefslogtreecommitdiffstats
path: root/include/drm/DrmManagerClient.h
diff options
context:
space:
mode:
authorGloria Wang <gwang@google.com>2011-03-11 14:07:21 -0800
committerGloria Wang <gwang@google.com>2011-03-11 14:54:23 -0800
commit0e0a5f9e0b7a7ca618e8a1f7ccecc57a17e0d1e2 (patch)
tree8ad3203ba726da5b28d63f25d16c1c761cc97885 /include/drm/DrmManagerClient.h
parent2eb62955eb84b97695e8a7e56e14310cbb86412b (diff)
downloadframeworks_av-0e0a5f9e0b7a7ca618e8a1f7ccecc57a17e0d1e2.zip
frameworks_av-0e0a5f9e0b7a7ca618e8a1f7ccecc57a17e0d1e2.tar.gz
frameworks_av-0e0a5f9e0b7a7ca618e8a1f7ccecc57a17e0d1e2.tar.bz2
- Some change on the DrmManager in order to support feature request 4082089.
In DrmManager, we currently lock both processDrmInfo() and onInfo() which is ok for now since processDrmInfo() is async call, and it will return without waiting for onInfo() call. However, if we send an event in processDrmInfo(), we will got deadlock here because we need to invoke onInf() which will wait for processDrmInfo() to release the lock. Use different lock for onInfo(). - Remove some redundent mutex lock. Change-Id: I59c794f95ba1693425723224114fa975cf9b235f
Diffstat (limited to 'include/drm/DrmManagerClient.h')
-rw-r--r--include/drm/DrmManagerClient.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/drm/DrmManagerClient.h b/include/drm/DrmManagerClient.h
index 085ebf1..12142bc 100644
--- a/include/drm/DrmManagerClient.h
+++ b/include/drm/DrmManagerClient.h
@@ -365,7 +365,6 @@ public:
private:
int mUniqueId;
- Mutex mDecryptLock;
DrmManagerClientImpl* mDrmManagerClientImpl;
};