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

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

Camera: Fix CPU hogging when flush() is called after device goes idle

If flush() is called after the request thread goes idle, we still need
to reset the mRequestClearing flag. Otherwise, the requestThread will
go onto a busy loop.

Test: Camera CTS, Observe CPU trace when exiting camera
Bug: 232711266
Change-Id: I25c191e7df2a788ad34ab137b39da8d5031beb0a
parent 03ad8074
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