libdvr: call unload_secdmx_api correctly. [1/1]

PD#SWPL-107752

Problem:
one record session close cause another record session failed.

Solution:
unload_secdmx_api is called only when both records closed.

Verify:
s905x4

Change-Id: I4b14e23e8333db46264ae1978fafc7214a79086a
Signed-off-by: shenghui.geng <shenghui.geng@amlogic.com>
1 file changed
tree: 5812bd92e689ac744e5f381baa3f5805ecefb13a
  1. include/
  2. src/
  3. test/
  4. Android.bp
  5. Android.mk
  6. Doxyfile
  7. LICENSE
  8. Makefile