Skip to content
Commit 6f3e5a0d authored by Emilian Peev's avatar Emilian Peev
Browse files

Camera: Avoid removing valid repeating requests

Due to lock contention between the legacy camera
device implementation and the Camera2 framework,
result and error callbacks can be delayed which
can allow clients to update the repeating request
resulting in incorrect behavior.
To avoid this, check whether repeating request
errors still refer to valid and active request ids
tracked by the request queue before posting
callbacks.

Bug: 143727669
Test: Camera CTS

Change-Id: I8f2da0aace40b33757b3c3ac4febc3af7f0ec6cd
parent 8e34d95a
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