summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorVadim Caen <caen@google.com>2021-05-31 17:20:45 +0200
committerVadim Caen <caen@google.com>2021-06-15 15:39:09 +0200
commita46ff113be1c3f2105c4ebb7dbe2e1390ea6c70c (patch)
tree3ac79085e75f33e2b3a3aceae43d79413d999723 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent5829bd558ac39c73f2059b6e1ee542de6d6a115f (diff)
Release the SurfacePackageViewHost on splash screen removed
The SurfacePackageViewHost was never release, leading to a leak of its surfaces. This CL ensure it is released: - Directly in the shell if the SplashScreenView was not copied - From the client, through the window manger and then to the shell if the splash screen was copied in the client process Test: Manually tested with app setting by checking if the surfaces are actually removed (winscope + logs) in the following scenarios: - When the application registers an OnExitAnimationListener and calls remove(), - When the application registers an OnExitAnimationListener and dies without calling remove() - When the applicaiton does not register an OnExitAnimationListener and the shell removes the splash screen Bug: 189759180 Change-Id: Ib68bfffad6720911368739d7dd87d8a03034c589
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions