SurfaceControl: Fix release
Currently we call decStrong causing ~SurfaceControl to be invoked. If mOwned=true this will cause a reparent to null which is not the intended behavior of release. We call SurfaceControl#release before decStrong to fix this. Also we have destroy call destroy to be less confusing. Bug: 123587983 Test: SurfaceControlTest Change-Id: I86faa9d1eb850ac6437fc870b126a1473ee091e3
Loading
Please register or sign in to comment