Inside a task, if I use the method of my system (Android 11) to return to the main menu the application suddenly closes, but if I press the upper left arrow to return to the main menu it works as desired.
The expected behavior, at least in my case, is that both my system method to go back and the upper left arrow do the same.
Yes, initially that behavior of going back only with the arrow of the app's menu bar was what I have programmed, but surely you are right and I should change it.
Inside a task, if I use the method of my system (Android 11) to return to the main menu the application suddenly closes, but if I press the upper left arrow to return to the main menu it works as desired.
The expected behavior, at least in my case, is that both my system method to go back and the upper left arrow do the same.