kopia lustrzana https://github.com/ryukoposting/Signal-Android
Do not try to start next activity if we are not attached.
rodzic
4cd9ccc0f1
commit
29e697265c
|
@ -343,7 +343,9 @@ public class EditProfileFragment extends LoggingFragment {
|
||||||
@Override
|
@Override
|
||||||
public void onAnimationEnd(Animator animation) {
|
public void onAnimationEnd(Animator animation) {
|
||||||
finishButton.setProgress(0);
|
finishButton.setProgress(0);
|
||||||
if (nextIntent != null) startActivity(nextIntent);
|
if (nextIntent != null && getActivity() != null) {
|
||||||
|
startActivity(nextIntent);
|
||||||
|
}
|
||||||
|
|
||||||
controller.onProfileNameUploadCompleted();
|
controller.onProfileNameUploadCompleted();
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue