Revert "Block allocateBackup if the node is not secure node."
This reverts commit 996be3eef180deef68804ad2edf98bb3c36027a7.
Bug: 63522818
Change-Id: I1ba89c4f5f2ca0dc9295147b5b4f69e3e0a5c7df
diff --git a/media/libstagefright/omx/OMXNodeInstance.cpp b/media/libstagefright/omx/OMXNodeInstance.cpp
index 4b4d09f..7345ced 100644
--- a/media/libstagefright/omx/OMXNodeInstance.cpp
+++ b/media/libstagefright/omx/OMXNodeInstance.cpp
@@ -927,13 +927,6 @@
return BAD_VALUE;
}
- if (!mIsSecure) {
- // This method is used only with secure codecs in this release.
- ALOGE("b/63522818");
- android_errorWriteLog(0x534e4554, "63522818");
- return ERROR_UNSUPPORTED;
- }
-
BufferMeta *buffer_meta = new BufferMeta(size, portIndex);
OMX_BUFFERHEADERTYPE *header;