summaryrefslogtreecommitdiff
path: root/drm/drmserver/DrmManagerService.cpp
diff options
context:
space:
mode:
author Gloria Wang <gwang@google.com> 2011-07-25 16:36:20 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2011-07-25 16:36:20 -0700
commit1ff496a75a116f77fa9cd6b90c6ac635e98e5669 (patch)
tree330287f09a78c725253b0c9e5203dd5dee50b87a /drm/drmserver/DrmManagerService.cpp
parente3f5edf9755ca2ffbb654389251a61b35a3d9901 (diff)
parenta17d454fd0d20d14cf1fbc09f0f296cb6cbb870b (diff)
Merge "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"
Diffstat (limited to 'drm/drmserver/DrmManagerService.cpp')
-rw-r--r--drm/drmserver/DrmManagerService.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/drm/drmserver/DrmManagerService.cpp b/drm/drmserver/DrmManagerService.cpp
index 583669e980a0..7ebcac39380b 100644
--- a/drm/drmserver/DrmManagerService.cpp
+++ b/drm/drmserver/DrmManagerService.cpp
@@ -78,8 +78,8 @@ DrmManagerService::~DrmManagerService() {
delete mDrmManager; mDrmManager = NULL;
}
-int DrmManagerService::addUniqueId(int uniqueId) {
- return mDrmManager->addUniqueId(uniqueId);
+int DrmManagerService::addUniqueId(bool isNative) {
+ return mDrmManager->addUniqueId(isNative);
}
void DrmManagerService::removeUniqueId(int uniqueId) {