Skip to content
Commit cad1bfe6 authored by Eino-Ville Talvala's avatar Eino-Ville Talvala
Browse files

Camera2: Fix broken onCaptureBufferLost callback

Turns out this never worked. 😱

- Add missing oncaptureBufferLost proxy method
- To avoid this issue in the future, change CameraDeviceImpl.CaptureCallback to be
  an interface instead of an abstract class; now all implementers _must_ implement
  all the methods
- For the short-circuit local callback when no callback is provided by the user,
  implement all no-ops explicitly.

Test: Camera CTS continues to pass; manual testing with injected buffer drops
Bug: 62004599
Change-Id: I7732903dbc00e80084162e067de66b5db6cee74c
parent 07c832f4
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