summaryrefslogtreecommitdiffstats
path: root/test/CameraHal
diff options
context:
space:
mode:
Diffstat (limited to 'test/CameraHal')
-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();