diff options
author | Eino-Ville Talvala <etalvala@google.com> | 2017-05-23 14:10:49 -0700 |
---|---|---|
committer | Eino-Ville Talvala <etalvala@google.com> | 2017-05-23 14:29:31 -0700 |
commit | cad1bfe68b3597741f777a8bf233cd440946936b (patch) | |
tree | c9659861134ef0c1e86b1a5f4e2922e6dfe36583 /rs/java/android/renderscript/ProgramStore.java | |
parent | 07c832f40537e73fc468aae9b04f867d92c810e2 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions