diff options
Diffstat (limited to 'tests/camera2/CameraStreamFixture.h')
-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); |