Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash when App gets rehydrated #4547

Merged
merged 1 commit into from
Jan 13, 2023
Merged

Conversation

Cheesebaron
Copy link
Member

@Cheesebaron Cheesebaron commented Jan 13, 2023

✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Bug fix

⤵️ What is the current behavior?

If you kill the App when it is in the background. I.e. through developer options using Running Services. Opening it back crashes due to Android starting from the Activity that was the top of the stack (not Splash) and Current Top Activity not having been set yet.

🆕 What is the new behavior (if this is a feature change)?

Set Top Activity as early as possible.

💥 Does this PR introduce a breaking change?

No

🐛 Recommendations for testing

📝 Links to relevant issues/docs

🤔 Checklist before submitting

@Cheesebaron Cheesebaron added t/bug Bug type p/android Android platform labels Jan 13, 2023
@Cheesebaron Cheesebaron merged commit 6f06b24 into develop Jan 13, 2023
@Cheesebaron Cheesebaron deleted the bugfix/activity-rehydration branch January 13, 2023 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p/android Android platform t/bug Bug type
Development

Successfully merging this pull request may close these issues.

None yet

1 participant