When you click on the "Home" button, the application collapses. If you open it through the system monitor, the application is deployed in the same place where the user activity was. If you open through the icon (re-launch), the application opens on the starting Activity.

How to restore (deploy) the application process when it is restarted?

  • Show the code, at least the first activation. This behavior should not be, launching through the icon should also open the activation, on which "Home" was pressed - Werder
  • one
    I would say show your manifesto - Vladyslav Matviienko

1 answer 1

I do not know why you added activation to everyone in the manifesto.

android:launchMode="singleTask" 

But to do what you want, you just need to delete these lines. The problem can only be if you have this functionality.

  • that's exactly what i suspected - Vladyslav Matviienko
  • @metalurgus, in fact, is the most frequent puncture in such cases. put the flags, and do not even know what they are doing. - Vitalii Obideiko
  • @VitaliyObideyko, I just did not expect a similar effect. = ( - Arentheal