Add comment explaining fix

This commit is contained in:
misaochan 2018-01-25 03:38:08 +10:00 committed by maskara
parent 1167837b9f
commit 5a50e63142

View file

@ -81,7 +81,7 @@ public class ContributionController {
Intent pickImageIntent = new Intent(ACTION_GET_CONTENT);
pickImageIntent.setType("image/*");
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()) {
return;
}