Merge pull request #36 from tricorderorg/master

stop making null File / NPE
pull/40/head
Florent CHAMPIGNY 8 years ago committed by GitHub
commit 972ba68125
  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