commit | dd3687333472d862432210da08d980b331721d0c | [log] [tgz] |
---|---|---|
author | Vadim Caen <[email protected]> | Thu Apr 15 14:28:55 2021 +0200 |
committer | Vadim Caen <[email protected]> | Fri May 21 13:13:16 2021 +0200 |
tree | 9966da8b9f51a1a49e0533fc9c9b81801ba274be | |
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