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
Loading
Please register or sign in to comment