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

Skip to content
Commit fa17f09b authored by Emilian Peev's avatar Emilian Peev
Browse files

Camera: Ensure that 'opChanged' can access a valid device instance

'opChanged' callbacks will get registered before the camera3
device initialization. They are not synchronized with the
main service lock and can potentially try to access an invalid
device reference.
Ensure that the 'opChanged' callback registration always happens
after the camera3 device initialization.

Bug: 240725858
Test: Camera CTS
Change-Id: Id3d9877dfafc894cceca5358213f39d5b46a7aee
parent ebba6f05
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment