From 6ae4faaf3afa8768bc523f83bcce9d1f0fe5486b Mon Sep 17 00:00:00 2001 From: PaoloMessina Date: Fri, 23 Jan 2015 14:31:50 +0100 Subject: [PATCH] Android default drawSight = true Android default drawSight = true --- android/ZBarScannerActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/ZBarScannerActivity.java b/android/ZBarScannerActivity.java index a17740a..bb50989 100644 --- a/android/ZBarScannerActivity.java +++ b/android/ZBarScannerActivity.java @@ -107,7 +107,7 @@ implements SurfaceHolder.Callback { scanner.setConfig(0, Config.X_DENSITY, 3); scanner.setConfig(0, Config.Y_DENSITY, 3); - drawSight = params.optString("drawSight") != null ? Boolean.valueOf(params.optString("drawSight").toLowerCase()) : false; + drawSight = params.optString("drawSight") != null ? Boolean.valueOf(params.optString("drawSight").toLowerCase()) : true; // Set content view setContentView(getResourceId("layout/cszbarscanner"));