diff options
| author | 2011-07-25 16:36:20 -0700 | |
|---|---|---|
| committer | 2011-07-25 16:36:20 -0700 | |
| commit | 1ff496a75a116f77fa9cd6b90c6ac635e98e5669 (patch) | |
| tree | 330287f09a78c725253b0c9e5203dd5dee50b87a /drm/common/IDrmManagerService.cpp | |
| parent | e3f5edf9755ca2ffbb654389251a61b35a3d9901 (diff) | |
| parent | a17d454fd0d20d14cf1fbc09f0f296cb6cbb870b (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/common/IDrmManagerService.cpp')
| -rw-r--r-- | drm/common/IDrmManagerService.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drm/common/IDrmManagerService.cpp b/drm/common/IDrmManagerService.cpp index 2d8e877b97d1..986f32c4037e 100644 --- a/drm/common/IDrmManagerService.cpp +++ b/drm/common/IDrmManagerService.cpp @@ -110,11 +110,11 @@ static void clearDecryptHandle(DecryptHandle* handle) { handle->extendedData.clear(); } -int BpDrmManagerService::addUniqueId(int uniqueId) { +int BpDrmManagerService::addUniqueId(bool isNative) { LOGV("add uniqueid"); Parcel data, reply; data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor()); - data.writeInt32(uniqueId); + data.writeInt32(isNative); remote()->transact(ADD_UNIQUEID, data, &reply); return reply.readInt32(); } |