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

Skip to content
Commit e8d1a4d5 authored by Emilian Peev's avatar Emilian Peev Committed by Michael Bestas
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
(cherry picked from commit 6f3e5a0d)
parent 25d66713
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