1
0
mirror of https://bitbucket.org/HeshamTB/barcodescanner2.git synced 2024-12-23 04:31:50 +01:00
This commit is contained in:
HeshamTB 2018-05-02 21:12:14 +03:00
parent 26a8c7f6e8
commit fefaafab83
2 changed files with 6 additions and 1 deletions

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

View File

@ -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);