codec2: finish shutdown process despite error is notified

When release is signaled, MediaCodec will always wait on shutdown complete
notification despite any reported error during shutdown, otherwise it will be
hanged. That is, C2VDAComponent would still need to finish shutdown process
even if VDA notifies error.

Bug: 117474461
Test: CtsSecurityTestCases android.security.cts.StagefrightTest#testBug36816007
Change-Id: Ib0f6f2b3871d3eed42d564a6417336138d586c5e
(cherry picked from commit 06d1f6e0142781f75a159862eed79efa1d921bea)
1 file changed