libgui: Add SurfaceComposerClient shim

Change-Id: Ie0ce6a17cebd079584a3121524eb79bf64a88df3
This commit is contained in:
Michael Bestas 2022-11-01 20:45:23 +02:00 committed by Michael Bestas
parent fd79adbaeb
commit ce8f7cfed4
No known key found for this signature in database
GPG key ID: CC95044519BE6669
3 changed files with 16 additions and 1 deletions

View file

@ -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 {

View 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);
}