Don't try using a detached fragment.

Test: builds, boots
Bug: 36486843
Change-Id: I3e2d2bcd56edcc86370f4b64dabdf155d63f40d3
This commit is contained in:
Jeff Sharkey
2017-04-03 17:19:17 -06:00
parent 3c0d5ff3d1
commit 5e2fc68668

View File

@@ -240,6 +240,7 @@ public class EditUserPhotoController {
@Override
protected void onPostExecute(Void result) {
if (!mFragment.isAdded()) return;
cropPhoto();
}
}.execute();