diff options
author | Mathias Agopian <mathias@google.com> | 2013-08-06 14:17:59 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2013-08-06 14:17:59 -0700 |
commit | ef18cb7133bf29b9e999b2de75ff4cf6e2cfb82e (patch) | |
tree | 81a86668e265178f2de9dd53b2f8983805f01da5 | |
parent | 9d51856d71b4aa25ca925b1ee7d9950878847f63 (diff) | |
download | hardware_libhardware-ef18cb7133bf29b9e999b2de75ff4cf6e2cfb82e.zip hardware_libhardware-ef18cb7133bf29b9e999b2de75ff4cf6e2cfb82e.tar.gz hardware_libhardware-ef18cb7133bf29b9e999b2de75ff4cf6e2cfb82e.tar.bz2 |
Fix build.
Change-Id: Ibf73106f8be63cf433fafe9510c8477f74b7ac41
-rw-r--r-- | tests/camera2/CameraStreamFixture.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/camera2/CameraStreamFixture.h b/tests/camera2/CameraStreamFixture.h index 195e764..6b31544 100644 --- a/tests/camera2/CameraStreamFixture.h +++ b/tests/camera2/CameraStreamFixture.h @@ -166,8 +166,7 @@ protected: mCpuConsumer = new CpuConsumer(bq, p.mHeapCount); mCpuConsumer->setName(String8("CameraStreamTest::mCpuConsumer")); - mNativeWindow = new Surface( - mCpuConsumer->getProducerInterface()); + mNativeWindow = new Surface(bq); int format = MapAutoFormat(p.mFormat); |