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 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;
|
||||
|
||||
|
||||
Binary file not shown.
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user