mirror of
https://github.com/gsantner/dandelion
synced 2024-11-22 04:12:08 +01:00
Fixed crash after clicking photo upload button twice (#139)
This commit is contained in:
parent
8ef2cacc79
commit
392b76c53d
1 changed files with 0 additions and 2 deletions
|
@ -265,8 +265,6 @@ public class DiasporaStreamFragment extends BrowserFragment {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
AppLog.v(this, "onOpenFileChooser");
|
AppLog.v(this, "onOpenFileChooser");
|
||||||
if (imageUploadFilePathCallbackNew != null)
|
|
||||||
imageUploadFilePathCallbackNew.onReceiveValue(null);
|
|
||||||
imageUploadFilePathCallbackNew = filePathCallback;
|
imageUploadFilePathCallbackNew = filePathCallback;
|
||||||
Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
|
Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
|
||||||
if (takePictureIntent.resolveActivity(getContext().getPackageManager()) != null) {
|
if (takePictureIntent.resolveActivity(getContext().getPackageManager()) != null) {
|
||||||
|
|
Loading…
Reference in a new issue