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
Loading
Please register or sign in to comment