diff options
author | Huihong Luo <huisinro@google.com> | 2021-06-29 22:38:17 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-06-29 22:38:17 +0000 |
commit | 4d7a36be41aadde7b0921c20962897aa97cf110d (patch) | |
tree | 0a368706772778d5a3ec91b68cc44a56576e492e /libs/hwui/renderthread/CanvasContext.cpp | |
parent | 56dc119776c16c7e6bf817f400f3fa43b691c9e1 (diff) | |
parent | 540fdf89b1432f99e3c01d6ec838d434609eefb7 (diff) |
Merge "Reparent surface control for Webview overlay" into sc-dev
Diffstat (limited to 'libs/hwui/renderthread/CanvasContext.cpp')
-rw-r--r-- | libs/hwui/renderthread/CanvasContext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/CanvasContext.cpp b/libs/hwui/renderthread/CanvasContext.cpp index 0c9711ba8025..81cee6103d22 100644 --- a/libs/hwui/renderthread/CanvasContext.cpp +++ b/libs/hwui/renderthread/CanvasContext.cpp @@ -201,6 +201,7 @@ void CanvasContext::setSurfaceControl(ASurfaceControl* surfaceControl) { funcs.releaseFunc(mSurfaceControl); } mSurfaceControl = surfaceControl; + mSurfaceControlGenerationId++; mExpectSurfaceStats = surfaceControl != nullptr; if (mSurfaceControl != nullptr) { funcs.acquireFunc(mSurfaceControl); |