Merge "Don't try using a detached fragment." into oc-dev
am: b59337c0eb
Change-Id: I7b52324981b9f6bd71a1497b0d93afbd4dcb7ef9
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user