From e7a83c281efe826a97bcd271e8a026725911c319 Mon Sep 17 00:00:00 2001 From: ericbets Date: Fri, 5 May 2017 08:34:08 +1000 Subject: [PATCH] stop making null File / NPE --- .../camerafragment/internal/ui/BaseAnncaFragment.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/camerafragment/src/main/java/com/github/florent37/camerafragment/internal/ui/BaseAnncaFragment.java b/camerafragment/src/main/java/com/github/florent37/camerafragment/internal/ui/BaseAnncaFragment.java index 7ccef8a..b27232f 100644 --- a/camerafragment/src/main/java/com/github/florent37/camerafragment/internal/ui/BaseAnncaFragment.java +++ b/camerafragment/src/main/java/com/github/florent37/camerafragment/internal/ui/BaseAnncaFragment.java @@ -279,11 +279,6 @@ public abstract class BaseAnncaFragment extends Fragment implements Ca onCameraTypeFrontBackChanged(); } - @Override - public void takePhotoOrCaptureVideo(final CameraFragmentResultListener resultListener) { - takePhotoOrCaptureVideo(resultListener, null, null); - } - @Override public void takePhotoOrCaptureVideo(final CameraFragmentResultListener resultListener, @Nullable String directoryPath, @Nullable String fileName) { switch (currentMediaActionState) {