summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Kwangkyu Park <kk48.park@samsung.corp-partner.google.com> 2023-06-08 02:23:15 +0900
committer Emilian Peev <epeev@google.com> 2023-06-28 10:11:33 -0700
commitb2456b4058803abe865f1109666bae824268f79e (patch)
tree005a10bbf35d40c0a804332068b4d7be8b64b1f8 /libs/androidfw/AttributeResolution.cpp
parent41fc44e370d482c8a42d1e481bae90e66cc55bf0 (diff)
Camera: release extension when extension app crash
When extension use app crashed, extension proxy service does not clean up the SessionProcessorImpl or ExtenderImpl. This could cause the resource leak as all resources allocated is expected to be released from the onDeInit or deInitSession. This patch will attached DeathRecipient to the SessionProcessorImpl and ExtenderImpl. And, it will handle relevant release sequence. Bug: 286198063 Test: Manual test with the extension test app that intentionally crashes Change-Id: I9053bc9a51e65c33309eea78db538dfc9962affc
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions