Merge "Don't try using a detached fragment." into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b59337c0eb
@@ -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