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
Loading
Please register or sign in to comment