stop making null File / NPE

pull/36/head
ericbets 8 years ago committed by GitHub
parent f129b8e8f9
commit e7a83c281e
  1. 5
      camerafragment/src/main/java/com/github/florent37/camerafragment/internal/ui/BaseAnncaFragment.java

@ -279,11 +279,6 @@ public abstract class BaseAnncaFragment<CameraId> extends Fragment implements Ca
onCameraTypeFrontBackChanged(); onCameraTypeFrontBackChanged();
} }
@Override
public void takePhotoOrCaptureVideo(final CameraFragmentResultListener resultListener) {
takePhotoOrCaptureVideo(resultListener, null, null);
}
@Override @Override
public void takePhotoOrCaptureVideo(final CameraFragmentResultListener resultListener, @Nullable String directoryPath, @Nullable String fileName) { public void takePhotoOrCaptureVideo(final CameraFragmentResultListener resultListener, @Nullable String directoryPath, @Nullable String fileName) {
switch (currentMediaActionState) { switch (currentMediaActionState) {

Loading…
Cancel
Save