mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-22 04:29:22 +01:00
remove some warning after code analysis
This commit is contained in:
parent
62440f2439
commit
796472cd1f
1 changed files with 0 additions and 6 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue