libgui: Add SurfaceComposerClient shim
Change-Id: Ie0ce6a17cebd079584a3121524eb79bf64a88df3
This commit is contained in:
parent
fd79adbaeb
commit
ce8f7cfed4
3 changed files with 16 additions and 1 deletions
|
@ -223,7 +223,10 @@ cc_library_shared {
|
|||
cc_defaults {
|
||||
name: "libgui_shim_defaults",
|
||||
shared_libs: ["libutils"],
|
||||
srcs: ["libgui/gui_shim.cpp"],
|
||||
srcs: [
|
||||
"libgui/GraphicBufferProducer.cpp",
|
||||
"libgui/SurfaceComposerClient.cpp",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library {
|
||||
|
|
12
libgui/SurfaceComposerClient.cpp
Normal file
12
libgui/SurfaceComposerClient.cpp
Normal file
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* Copyright (C) 2022 The LineageOS Project
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
extern "C" void _ZN7android21SurfaceComposerClient11Transaction5applyEbb(bool synchronous,
|
||||
bool oneWay);
|
||||
|
||||
extern "C" void _ZN7android21SurfaceComposerClient11Transaction5applyEb(bool synchronous) {
|
||||
_ZN7android21SurfaceComposerClient11Transaction5applyEbb(synchronous, false);
|
||||
}
|
Loading…
Reference in a new issue