compat: Add shim for Fence destructor
* This was replaced with a default destructor which has no visible linkage. No-op the destructor call and hope the actual destructor is called from underneath. Change-Id: Id039e916c24959e9f60391bc10886df878f4d265
This commit is contained in:
parent
e2f889da0b
commit
f0f1e67f41
2 changed files with 14 additions and 1 deletions
|
@ -281,6 +281,9 @@ cc_library {
|
|||
cc_library_shared {
|
||||
name: "libui_shim",
|
||||
shared_libs: ["libui"],
|
||||
srcs: ["libui/GraphicBuffer.cpp"],
|
||||
srcs: [
|
||||
"libui/Fence.cpp",
|
||||
"libui/GraphicBuffer.cpp",
|
||||
],
|
||||
compile_multilib: "64",
|
||||
}
|
||||
|
|
10
libui/Fence.cpp
Normal file
10
libui/Fence.cpp
Normal file
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The LineageOS Project
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
// android::Fence::~Fence()
|
||||
extern "C" void _ZN7android5FenceD1Ev() {
|
||||
// no-op, the explicit destructor was replaced with = default;
|
||||
}
|
Loading…
Reference in a new issue