summaryrefslogtreecommitdiffstats
path: root/drm/libdrmframework/include/IDrmManagerService.h
diff options
context:
space:
mode:
authorGloria Wang <gwang@google.com>2011-07-21 15:10:22 -0700
committerGloria Wang <gwang@google.com>2011-07-25 16:09:58 -0700
commit8f00151cbe693d52f3e233757c57fab3b6396d21 (patch)
treee23cc93514f43af27aa3e2d7bcfce1b88d614a2b /drm/libdrmframework/include/IDrmManagerService.h
parent60c93010e8f96a179574ec66c00ec47a675319e3 (diff)
downloadframeworks_av-8f00151cbe693d52f3e233757c57fab3b6396d21.zip
frameworks_av-8f00151cbe693d52f3e233757c57fab3b6396d21.tar.gz
frameworks_av-8f00151cbe693d52f3e233757c57fab3b6396d21.tar.bz2
Fix for bug 4371230.
- Generate unique ID for each DrmManagerClient in native side - Fix the bug where multiple clients could use the same ID - Return the correct unique ID back to Java - Add a flag in the unique ID to separate native client and Java client Change-Id: Ia4574b6b0a526f2335a65380975dc62f9a6e7f9b
Diffstat (limited to 'drm/libdrmframework/include/IDrmManagerService.h')
-rw-r--r--drm/libdrmframework/include/IDrmManagerService.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drm/libdrmframework/include/IDrmManagerService.h b/drm/libdrmframework/include/IDrmManagerService.h
index 7727e55..b9618bb 100644
--- a/drm/libdrmframework/include/IDrmManagerService.h
+++ b/drm/libdrmframework/include/IDrmManagerService.h
@@ -81,7 +81,7 @@ public:
DECLARE_META_INTERFACE(DrmManagerService);
public:
- virtual int addUniqueId(int uniqueId) = 0;
+ virtual int addUniqueId(bool isNative) = 0;
virtual void removeUniqueId(int uniqueId) = 0;
@@ -167,7 +167,7 @@ public:
BpDrmManagerService(const sp<IBinder>& impl)
: BpInterface<IDrmManagerService>(impl) {}
- virtual int addUniqueId(int uniqueId);
+ virtual int addUniqueId(bool isNative);
virtual void removeUniqueId(int uniqueId);