commit | 4dfa4cca7a4fcf5ea4a37dca1fef7f2f56f6dd8c | [log] [tgz] |
---|---|---|
author | Yin-Chia Yeh <yinchiayeh@google.com> | Fri Nov 10 20:00:09 2017 -0800 |
committer | Yin-Chia Yeh <yinchiayeh@google.com> | Tue Dec 19 11:05:20 2017 -0800 |
tree | f92865e72d54b28eabe206f027c632cb08ce6abb | |
parent | d39b9e3ec153f68b6ba81228b5aa29a9b72770b0 [diff] [blame] |
Camera: pass StreamSurfaceId instead of Surface Also fix buffer error callback on shared surfaces. Test: CTS Bug: 68020997 Change-Id: I71d6a1373ff09dcb21d39f78dd56727cbde9a3ad
diff --git a/camera/ndk/impl/ACameraCaptureSession.cpp b/camera/ndk/impl/ACameraCaptureSession.cpp index 6d1d5ce..f60e5fd 100644 --- a/camera/ndk/impl/ACameraCaptureSession.cpp +++ b/camera/ndk/impl/ACameraCaptureSession.cpp
@@ -159,7 +159,7 @@ dev->lockDeviceForSessionOps(); { Mutex::Autolock _l(mSessionLock); - ret = dev->updateOutputConfiguration(output); + ret = dev->updateOutputConfigurationLocked(output); } dev->unlockDevice(); return ret;