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

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

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
parent efa8c657
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