mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-25 05:27:42 +00:00
Do not try to start next activity if we are not attached.
This commit is contained in:
@@ -343,7 +343,9 @@ public class EditProfileFragment extends LoggingFragment {
|
||||
@Override
|
||||
public void onAnimationEnd(Animator animation) {
|
||||
finishButton.setProgress(0);
|
||||
if (nextIntent != null) startActivity(nextIntent);
|
||||
if (nextIntent != null && getActivity() != null) {
|
||||
startActivity(nextIntent);
|
||||
}
|
||||
|
||||
controller.onProfileNameUploadCompleted();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user