Edwin's fix for b/4282251: AACDecoder log spam after device key failure - required reboot

Change-Id: Id28dd6ecf10175dd21a13a3d455ffcf3b4ad8116
This commit is contained in:
Jeffrey Tinker
2011-04-27 22:54:36 -07:00
parent e48b4f1797
commit d3679fa54b
4 changed files with 4 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ class WVDRMPluginAPI {
static WVDRMPluginAPI *create();
static void destroy(WVDRMPluginAPI *plugin);
virtual void OpenSession(const char *uri) = 0;
virtual bool OpenSession(const char *uri) = 0;
virtual void CloseSession() = 0;
virtual bool IsSupportedMediaType(const char *uri) = 0;

View File

@@ -766,13 +766,13 @@ status_t WVMDrmPlugin::onOpenDecryptSession(
decryptHandle->status = DRM_NO_ERROR;
decryptHandle->decryptInfo = NULL;
mDrmPluginImpl->OpenSession(uri);
result = DRM_NO_ERROR;
if (mDrmPluginImpl->OpenSession(uri)) {
result = DRM_NO_ERROR;
}
} else {
//LOGD("WVMDrmPlugin::onOpenDecryptSession(uri) - not Widevine media");
}
return result;
}