am c004a0c9: am 05e13b9e: am c1ded373: Merge "Revert "Use pread() to get the decrypted data for container based DRM file."" into honeycomb-mr2

* commit 'c004a0c925ea2c9c48bbf9670d2ebf96f432c90a':
  Revert "Use pread() to get the decrypted data for container based DRM file."
This commit is contained in:
James Dong
2011-05-26 11:41:30 -07:00
committed by Android Git Automerger

View File

@@ -392,13 +392,6 @@ ssize_t NuHTTPDataSource::readAt(off64_t offset, void *data, size_t size) {
Mutex::Autolock autoLock(mLock);
// if it's a DRM container based streaming, call pread() of the DRM plugin
// to get the decrypted data
if (mDecryptHandle != NULL && DecryptApiType::CONTAINER_BASED
== mDecryptHandle->decryptApiType) {
return mDrmManagerClient->pread(mDecryptHandle, data, size, offset);
}
if (offset != mOffset) {
String8 host = mHost;
String8 path = mPath;