From fefaafab83a9e11fba0f82afc19e93f96d397a96 Mon Sep 17 00:00:00 2001 From: HeshamTB <38921037+HeshamTB@users.noreply.github.com> Date: Wed, 2 May 2018 21:12:14 +0300 Subject: [PATCH] cleanup --- .idea/vcs.xml | 6 ++++++ .../java/team3/kau/ie201/barcodescanner2/MainActivity.java | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .idea/vcs.xml diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/java/team3/kau/ie201/barcodescanner2/MainActivity.java b/app/src/main/java/team3/kau/ie201/barcodescanner2/MainActivity.java index c8367a9..632409a 100644 --- a/app/src/main/java/team3/kau/ie201/barcodescanner2/MainActivity.java +++ b/app/src/main/java/team3/kau/ie201/barcodescanner2/MainActivity.java @@ -186,7 +186,6 @@ public class MainActivity extends AppCompatActivity implements OnClickListener { //Camera settings from https://developer.android.com/reference/android/hardware/Camera.html android.hardware.Camera.Parameters para; - android.hardware.Camera cam = android.hardware.Camera.open(0); para = cam.getParameters(); para.setFlashMode(para.FLASH_MODE_TORCH);