diff options
| author | 2022-02-07 15:58:48 -0800 | |
|---|---|---|
| committer | 2022-02-09 10:38:34 -0800 | |
| commit | d26814a018efed7f8a57934720c0ead9a3f3030a (patch) | |
| tree | 6adc7bf78823d72e74442b0538ffb062f624f34a /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 77cbb96034c74e803bca2b7a6bef2274e9050ab7 (diff) | |
SurfaceView: Don't reparent SurfacePackage on release
There is no need to reparent the SurfacePackage to null, if the
SurfaceView is destroyed it will naturally die, if it's not it will
persist which actually may be the intended behavior if we are
in some sort of exiting state. More so, it creates possible confusion
around releasing one SurfaceView while reparenting the SurfacePackage
to another.
Bug: 196926363
Bug: 217973491
Test: SurfaceViewSurfacePackageValidatorTest#testSurfacePackageNoFlicker
Change-Id: I4f93c4a6928f6b47371d0a264f1fc99c4e82819f
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions