diff options
| author | 2023-06-08 02:23:15 +0900 | |
|---|---|---|
| committer | 2023-06-28 10:11:33 -0700 | |
| commit | b2456b4058803abe865f1109666bae824268f79e (patch) | |
| tree | 005a10bbf35d40c0a804332068b4d7be8b64b1f8 /libs/androidfw/AttributeResolution.cpp | |
| parent | 41fc44e370d482c8a42d1e481bae90e66cc55bf0 (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