- Add two sanity checks.

- Remove one unnecessary line.
- Clear the extendedData vector in DecryptHandle.

Change-Id: I2610c6d68f12d48cb69323a5eb2ae4b3b3e44dff
This commit is contained in:
Gloria Wang
2011-06-22 14:55:16 -07:00
parent 6ef9a10495
commit ab00df4d85
3 changed files with 5 additions and 1 deletions

View File

@@ -107,6 +107,7 @@ static void clearDecryptHandle(DecryptHandle* handle) {
handle->decryptInfo = NULL;
}
handle->copyControlVector.clear();
handle->extendedData.clear();
}
int BpDrmManagerService::addUniqueId(int uniqueId) {