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

Commit 3859cc10 authored by Tony Guo's avatar Tony Guo
Browse files

Fix HalInterface in RequestThread is not restored in #stopInjection

In #stopInjection, only the HalInterface in Camera3Device is restored
to the original one, but the HalInterface in RequestThread should also
be restored, otherwise, after resuming, all capture requests will still
be sent to the injected Camera Hal Interface, and then the device will
go into an error state, because the injected Camera Hal Interface has
already been released.

Change-Id: I10c4d484ef4dcf6afaf5ce3f6f12867aaa1300ba
parent 05c2c223
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment