Fixed crash after clicking photo upload button twice (#139)

This commit is contained in:
vanitasvitae 2017-01-24 13:04:26 +01:00
parent 8ef2cacc79
commit 392b76c53d
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 0 additions and 2 deletions

View File

@ -265,8 +265,6 @@ public class DiasporaStreamFragment extends BrowserFragment {
}
}
AppLog.v(this, "onOpenFileChooser");
if (imageUploadFilePathCallbackNew != null)
imageUploadFilePathCallbackNew.onReceiveValue(null);
imageUploadFilePathCallbackNew = filePathCallback;
Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
if (takePictureIntent.resolveActivity(getContext().getPackageManager()) != null) {