Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 644a3e1c authored by Emilian Peev's avatar Emilian Peev
Browse files

Camera: Clear camera 3.5 device session

Cached 3.5 HIDL session needs to be released
in order to destroy the session implementation
on provider side.

Test: Camera CTS
Bug: 119939541
Change-Id: I8b4c403b7bb9f3ac481e240701b5aaad505fdf2e
parent c9f262d6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3903,6 +3903,7 @@ bool Camera3Device::HalInterface::valid() {
}

void Camera3Device::HalInterface::clear() {
    mHidlSession_3_5.clear();
    mHidlSession_3_4.clear();
    mHidlSession_3_3.clear();
    mHidlSession.clear();