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
(cherry picked from commit 4ed2e6b76d)
This commit is contained in:
Edwin Wong
2020-09-28 21:07:23 -07:00
committed by android-build-team Robot
parent 1a6f1fb402
commit a37060dbba

View File

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