diff options
author | 2020-09-28 21:07:23 -0700 | |
---|---|---|
committer | 2020-10-03 04:57:54 +0000 | |
commit | 4ed2e6b76dc955a400ed252ce162ee6335276858 (patch) | |
tree | 65a816bbdecf429da6755975a3b741835ae2b6bd | |
parent | b381de4cd0141c56135e7a36cfd047dca7175852 (diff) |
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
-rw-r--r-- | drm/jni/Android.bp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drm/jni/Android.bp b/drm/jni/Android.bp index 1e33f0ea5094..68757d86fb89 100644 --- a/drm/jni/Android.bp +++ b/drm/jni/Android.bp @@ -21,6 +21,7 @@ cc_library_shared { shared_libs: [ "libdrmframework", + "libdrmframeworkcommon", "liblog", "libutils", "libandroid_runtime", |