mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Add comment explaining fix
This commit is contained in:
parent
dc06fe789f
commit
f9c6240eaa
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ public class ContributionController {
|
||||||
Intent pickImageIntent = new Intent(ACTION_GET_CONTENT);
|
Intent pickImageIntent = new Intent(ACTION_GET_CONTENT);
|
||||||
pickImageIntent.setType("image/*");
|
pickImageIntent.setType("image/*");
|
||||||
Timber.d("startGalleryPick() called with pickImageIntent");
|
Timber.d("startGalleryPick() called with pickImageIntent");
|
||||||
//TODO Add fix for IllegalStateException here
|
// See https://stackoverflow.com/questions/22366596/android-illegalstateexception-fragment-not-attached-to-activity-webview
|
||||||
if (!fragment.isAdded()) {
|
if (!fragment.isAdded()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue