remove some warning after code analysis

This commit is contained in:
jacques 2022-03-06 18:34:36 +01:00
parent 62440f2439
commit 796472cd1f

View file

@ -128,12 +128,6 @@ public class CustomScannerActivity extends Activity implements DecoratedBarcodeV
} }
} }
public void changeMaskColor(View view) {
Random rnd = new Random();
int color = Color.argb(100, rnd.nextInt(256), rnd.nextInt(256), rnd.nextInt(256));
viewfinderView.setMaskColor(color);
}
public void changeLaserVisibility(boolean visible) { public void changeLaserVisibility(boolean visible) {
viewfinderView.setLaserVisibility(visible); viewfinderView.setLaserVisibility(visible);
} }