summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTyler Luu <tluu@ti.com>2011-08-12 09:46:22 -0500
committerIliyan Malchev <malchev@google.com>2011-08-16 17:26:58 -0700
commit95ad4f3815f0eabf70707bcf65b52eb8195accc0 (patch)
treec6b2984047db18840a5e90ed362306cc7a438f66 /test
parent1521831b2b2db93a1c90dd960ca4ee56b65de03d (diff)
downloadhardware_ti_omap4xxx-95ad4f3815f0eabf70707bcf65b52eb8195accc0.zip
hardware_ti_omap4xxx-95ad4f3815f0eabf70707bcf65b52eb8195accc0.tar.gz
hardware_ti_omap4xxx-95ad4f3815f0eabf70707bcf65b52eb8195accc0.tar.bz2
Camera Test App: Fix for preview display
Fixes the preview display. Changes the zorder to 0x7fffffff to make sure no one in the system uses this z order for its surface layers. Change-Id: I3098c47e35b607c68ce247ac5d310de23b2654b4 Original-author: Solaiyappan Saravanan <saravanan.s@ti.com> Signed-off-by: Solaiyappan Saravanan <saravanan.s@ti.com> Signed-off-by: Tyler Luu <tluu@ti.com>
Diffstat (limited to 'test')
-rw-r--r--test/CameraHal/camera_test_menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CameraHal/camera_test_menu.cpp b/test/CameraHal/camera_test_menu.cpp
index 9bbf16a..87c2d91 100644
--- a/test/CameraHal/camera_test_menu.cpp
+++ b/test/CameraHal/camera_test_menu.cpp
@@ -763,7 +763,7 @@ int createPreviewSurface(unsigned int width, unsigned int height, int32_t pixFor
previewSurface = surfaceControl->getSurface();
client->openGlobalTransaction();
- surfaceControl->setLayer(100000);
+ surfaceControl->setLayer(0x7fffffff);
surfaceControl->setPosition(0, 0);
surfaceControl->setSize(previewWidth, previewHeight);
surfaceControl->show();