Merge "Don't try using a detached fragment." into oc-dev

am: b59337c0eb

Change-Id: I7b52324981b9f6bd71a1497b0d93afbd4dcb7ef9
This commit is contained in:
Jeff Sharkey
2017-04-04 01:26:59 +00:00
committed by android-build-merger

View File

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