Use shared libdrmframeworkcommon.

The libdrmframeworkcommon was statically linked
to multiple libraries used by libfwdlockengine.
When the shared libraries closes, the same block
of static memory will be freed twice.

Test: CTS forwardlock tests
  atest CtsDrmTestCases
Bug: 155647761
Change-Id: I45113549772d48e925082d15659b1409cbed6499
This commit is contained in:
Edwin Wong
2020-09-28 21:07:23 -07:00
parent b381de4cd0
commit 4ed2e6b76d

View File

@@ -21,6 +21,7 @@ cc_library_shared {
shared_libs: [
"libdrmframework",
"libdrmframeworkcommon",
"liblog",
"libutils",
"libandroid_runtime",