diff options
author | Scott Lobdell <slobdell@google.com> | 2021-07-11 17:19:41 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-07-11 17:19:41 +0000 |
commit | c629fbb3b284560249baa92d100c2f50a54cf8e9 (patch) | |
tree | a31514b97149705ceff56ba74d39427a59e7d264 /libs/hwui/WebViewFunctorManager.cpp | |
parent | ad8ba783f247c782bacb95aa8399bbcd5a3c2def (diff) | |
parent | 8507fe74dccb3114f7942bb3ca2087dab2c890e6 (diff) |
Merge "Merge SP1A.210624.001" into s-keystone-qcom-dev
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); |