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

Skip to content
Commit bdf75f9b authored by Shuzhen Wang's avatar Shuzhen Wang
Browse files

Camera: Fix HAL call order for setCallback

setCallback() must be the first call made to the camera HAL per spec.
Revert the callflow reordering in ProviderInfo::initialize().

If the physical camera status change is triggered during
ProverInfo::initialize(), the listener->onDeviceStatusChanged call is
skipped anyway.

Bug: 160984331
Test: Camera CTS on emulator
Change-Id: Iaf69bedf03616bef55400a9d7a361f722341478b
parent e5dd4048
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