Release the surface control view host when addWindow fail.
The graphic memory which allocate for animatable icon cannot be released from #onDetachedFromWindow if that SurfaceView never been added to a window, release the host if addWindow failed. Test: manual test, force #addWindow always fail and cold start an app with animatable icon, verify no SurfaceView object left in surface. Bug: 218264452 Change-Id: I024c64ce134235e487b6ab7cf33ba9fdf4079046 Merged-In: I024c64ce134235e487b6ab7cf33ba9fdf4079046
Loading
Please register or sign in to comment