Skip to content

Commit 14a7e8f

Browse files
Update ImageActivity.java
1 parent e5630e0 commit 14a7e8f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/src/main/java/com/example/vehicleinfocheck/ImageActivity.java

-4
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,6 @@ private File createImageFile() throws IOException {
262262
currentPhotoPath = image.getAbsolutePath();//using AbsolutePath of image ,image can be displayed in imageview
263263
return image;
264264
}
265-
currentPhotoPath = image.getAbsolutePath();
266-
return image;
267-
}
268-
269265
//this method opens the camera and save our image file into the directory
270266
private void dispatchTakePictureIntent() {
271267
Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);

0 commit comments

Comments
 (0)