Edwin's fix for b/4282251: AACDecoder log spam after device key failure - required reboot
Change-Id: Id28dd6ecf10175dd21a13a3d455ffcf3b4ad8116
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user