diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-08-24 22:35:14 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-08-24 22:35:14 -0700 |
commit | c5d2fc3ce62f91306fe342d3aa2bfe37f6b51ef6 (patch) | |
tree | 240c33d88d2d8cd902b9da81f50ee7804dd690ed | |
parent | 3a96e09f206327fb5fd64d3fdc7ba3a315421082 (diff) | |
download | hardware_ti_omap4xxx-c5d2fc3ce62f91306fe342d3aa2bfe37f6b51ef6.zip hardware_ti_omap4xxx-c5d2fc3ce62f91306fe342d3aa2bfe37f6b51ef6.tar.gz hardware_ti_omap4xxx-c5d2fc3ce62f91306fe342d3aa2bfe37f6b51ef6.tar.bz2 |
Use new surface flinger API.
Change-Id: I90a00bd284a5d800f0f0eac5616ffa9ce14303c0
-rw-r--r-- | test/CameraHal/camera_test_menu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CameraHal/camera_test_menu.cpp b/test/CameraHal/camera_test_menu.cpp index 8f3ae50..bd956a6 100644 --- a/test/CameraHal/camera_test_menu.cpp +++ b/test/CameraHal/camera_test_menu.cpp @@ -753,10 +753,10 @@ int createPreviewSurface(unsigned int width, unsigned int height, int32_t pixFor return -1; } - surfaceControl = client->createSurface(0, + surfaceControl = client->createSurface(String8("camera_test_menu"), previewWidth, previewHeight, - pixFormat); + pixFormat, 0); previewSurface = surfaceControl->getSurface(); |