Android default drawSight = true

Android default drawSight = true
This commit is contained in:
PaoloMessina 2015-01-23 14:31:50 +01:00
parent 98cf6c7bec
commit 6ae4faaf3a

View File

@ -107,7 +107,7 @@ implements SurfaceHolder.Callback {
scanner.setConfig(0, Config.X_DENSITY, 3); scanner.setConfig(0, Config.X_DENSITY, 3);
scanner.setConfig(0, Config.Y_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 // Set content view
setContentView(getResourceId("layout/cszbarscanner")); setContentView(getResourceId("layout/cszbarscanner"));