diff options
author | Scott Lobdell <slobdell@google.com> | 2021-07-09 05:33:36 +0000 |
---|---|---|
committer | Scott Lobdell <slobdell@google.com> | 2021-07-09 05:33:36 +0000 |
commit | 8507fe74dccb3114f7942bb3ca2087dab2c890e6 (patch) | |
tree | 5d15051c03662b66bb54d04f158eb1b0ca623c44 /libs/hwui/WebViewFunctorManager.cpp | |
parent | 70ec282c1bd5e68015ed9412a730f5254ee6585c (diff) | |
parent | 9dd561f2a032908f6c916be577f6a7136c9b03ef (diff) |
Merge SP1A.210624.001
Change-Id: I96a39cdca22771b76e89caebd53ed52416005092
Diffstat (limited to 'libs/hwui/WebViewFunctorManager.cpp')
-rw-r--r-- | libs/hwui/WebViewFunctorManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/WebViewFunctorManager.cpp b/libs/hwui/WebViewFunctorManager.cpp index d9b9e2456fff..92e20c477669 100644 --- a/libs/hwui/WebViewFunctorManager.cpp +++ b/libs/hwui/WebViewFunctorManager.cpp @@ -197,6 +197,8 @@ ASurfaceControl* WebViewFunctor::getSurfaceControl() { auto funcs = renderthread::RenderThread::getInstance().getASurfaceControlFunctions(); mSurfaceControl = funcs.createFunc(rootSurfaceControl, "Webview Overlay SurfaceControl"); ASurfaceTransaction* transaction = funcs.transactionCreateFunc(); + activeContext->prepareSurfaceControlForWebview(); + funcs.transactionSetZOrderFunc(transaction, mSurfaceControl, -1); funcs.transactionSetVisibilityFunc(transaction, mSurfaceControl, ASURFACE_TRANSACTION_VISIBILITY_SHOW); funcs.transactionApplyFunc(transaction); |