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

* commit 'd3679fa54b155fbc6299385bd4f77445a3bf3e77':
  Edwin's fix for b/4282251: AACDecoder log spam after device key failure - required reboot
This commit is contained in:
Jeffrey Tinker
2011-04-28 12:59:02 -07:00
committed by Android Git Automerger
4 changed files with 4 additions and 4 deletions

View File

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

View File

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