From f9c6240eaa6c44657dbc05c8657e0b7f8d964f12 Mon Sep 17 00:00:00 2001 From: misaochan Date: Thu, 25 Jan 2018 03:38:08 +1000 Subject: [PATCH] Add comment explaining fix --- .../free/nrw/commons/contributions/ContributionController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/fr/free/nrw/commons/contributions/ContributionController.java b/app/src/main/java/fr/free/nrw/commons/contributions/ContributionController.java index ff54889ef..92cf063d4 100644 --- a/app/src/main/java/fr/free/nrw/commons/contributions/ContributionController.java +++ b/app/src/main/java/fr/free/nrw/commons/contributions/ContributionController.java @@ -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; }