summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author wilsonshih <wilsonshih@google.com> 2022-02-17 16:37:28 +0800
committer Wei Sheng Shih <wilsonshih@google.com> 2022-02-24 09:44:22 +0000
commit0c6bc130f64db7cdd2a886ab5928225295135e66 (patch)
tree0b95b54e50c34a7790ba8877c268e043f2d63df8 /libs/androidfw/StringPool.cpp
parent6bc26a037445e92b14d277f281f9783457305e8c (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions