diff options
author | Vadim Caen <caen@google.com> | 2021-04-15 14:28:55 +0200 |
---|---|---|
committer | Vadim Caen <caen@google.com> | 2021-05-21 13:13:16 +0200 |
commit | dd3687333472d862432210da08d980b331721d0c (patch) | |
tree | 9966da8b9f51a1a49e0533fc9c9b81801ba274be /libs/hwui/renderthread/DrawFrameTask.cpp | |
parent | cb81f1716da2b37f25b38d3bb76ef1a6a3967c1e (diff) |
Do not reparent the SC when package is already realeased
If we pass a copy of the surface package, we can release the original,
but we need to check that in this case the surface control doesn't get
reparented to null since the SurfaceView using the copy might already
use the surface.
Test: atest CtsWindowManagerDeviceTestCases:SurfaceControlViewHostTests#testTransferSurfacePackage
Bug: 181757194
Change-Id: Ibf084aa70f3821e7dc82fe45b194c07f307ebe1e
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions