Camera: Flush all state transitions before reconfigureCamera
Pending ACTIVE<->IDLE states transitions may be queued in StatusTracker. It's possible that the camera device has transitioned from IDLE to ACTIVE, but StatusTracker hasn't called notifyStatus(ACTIVE) when reconfigureCamera() is called. Solution is to flush the statusTracker before reconfigureCamera(). Test: Camera CTS, vendor testing Bug: 289974845 Change-Id: I4ceb96b855113cc7e042682df344df6481124997 Merged-In: I4ceb96b855113cc7e042682df344df6481124997
Loading
Please register or sign in to comment