-
Notifications
You must be signed in to change notification settings - Fork 132
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
Killed app relaunches same Activity instead of default Activity #37
Comments
Don't have much bandwidth here. Maybe send a PR to the sample to create a similar situation so we can repro? |
You should use |
Kinda +1 for this. Although our problem is that app is crashing just after rebirth. Our scenario is: In We adjusted |
Can you update our sample to replicate the problematic behavior in a PR? And perhaps include the fix? |
I am a launcher app. I had a problem in Android 7.1, when I restarted the app using the "triggerRebirth" method, a black screen appeared and the activity never reopened.
Thanks for your answer, it solved my problem. |
Last week I said that I solved the problem of not being able to restart after changing it this way. In fact, in the end, I tested that it still cannot restart under certain conditions. So I made the following changes:
Use |
Scenario:
Activity A has the LAUNCHER/DEFAULT stuff
Activity B also exists
I would expect the app to relaunch with only A showing, but B is relaunched instead. I tried specifying the Intent for A but even that doesn't work. Testing on an Emulator, API 28. Am I doing something wrong or is this a bug? I've combed over the code and can't figure out why this is happening.
The text was updated successfully, but these errors were encountered: