summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderThread.cpp
diff options
context:
space:
mode:
authorHuihong Luo <huisinro@google.com>2021-06-29 22:38:17 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2021-06-29 22:38:17 +0000
commit4d7a36be41aadde7b0921c20962897aa97cf110d (patch)
tree0a368706772778d5a3ec91b68cc44a56576e492e /libs/hwui/renderthread/RenderThread.cpp
parent56dc119776c16c7e6bf817f400f3fa43b691c9e1 (diff)
parent540fdf89b1432f99e3c01d6ec838d434609eefb7 (diff)
Merge "Reparent surface control for Webview overlay" into sc-dev
Diffstat (limited to 'libs/hwui/renderthread/RenderThread.cpp')
-rw-r--r--libs/hwui/renderthread/RenderThread.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/RenderThread.cpp b/libs/hwui/renderthread/RenderThread.cpp
index 524407d2b9b0..f83c0a4926f9 100644
--- a/libs/hwui/renderthread/RenderThread.cpp
+++ b/libs/hwui/renderthread/RenderThread.cpp
@@ -98,6 +98,10 @@ ASurfaceControlFunctions::ASurfaceControlFunctions() {
LOG_ALWAYS_FATAL_IF(transactionApplyFunc == nullptr,
"Failed to find required symbol ASurfaceTransaction_apply!");
+ transactionReparentFunc = (AST_reparent)dlsym(handle_, "ASurfaceTransaction_reparent");
+ LOG_ALWAYS_FATAL_IF(transactionReparentFunc == nullptr,
+ "Failed to find required symbol transactionReparentFunc!");
+
transactionSetVisibilityFunc =
(AST_setVisibility)dlsym(handle_, "ASurfaceTransaction_setVisibility");
LOG_ALWAYS_FATAL_IF(transactionSetVisibilityFunc == nullptr,