Reading here and some answers have left it unclear how clear TaskOnLaunch is to work specifically < P> 1) How is the original activity identified? Is this just a default, with the launcher or the main intent filter?
2) Does launching from the "Home Screen" in the document mean that the OS Home screen or app list is correct? To wit. Not from within an application.
3) Whenever that activity is launched from the Home screen, or the process home screen of that activity? Because docs indicate the past, but the post here shows the latter. I think this depends on what the definition of "launch" is. Edit: 4) What does the activity stack mean "clearing", literally erasing it, or through the cycle of activities onCreate () and over ()? I have explicitly manipulated TaskOnLaunch in every conceivable form with no effect, I have kept it in my original activity in the manifest, then it is fully kept in every activity, to ensure that To completely restart your application after hitting the process. My activity stack is not just being cleaned. Here is an Android documentation and some answers here (and stack Overflow has left it unclear how clean TaskOnLunch should behave in particular: 1) Does the activity stack mean "clearing" Erasing, or creativity () and finishes () is going to be a cycle of activities? All the activities done in the stack will be known through the lifecycle as they are called Finnish (). The basic activity will usually be kept- 2) How is the original activity identified? Is this just a default, with the launcher or the main intent filter? This is basically the first activity in the stack. Intentional intention is to use the stack to start. 3) Does the OS Home screen or app list mean the right to launch from "Home Screen" in the document? To wit. Not within an application It really does not matter - it only sets the intent. Standard Launcher sets the FLAG_ACTIVITY_RESET_TASK_IF_NEEDED icon when launching an app with an icon, you can set it yourself if you want 4) Whether this activity stack is launched from the Home screen , Or when the process of that activity is started from the home screen, does it clear the clear stack? Because docs indicate the past, but the post here shows the latter. I think this depends on the definition of "launch"? Whenever it is launched from the home screen, the fact is that processes are killed and the resume should be invisible to the user. I have explicitly manipulated TaskOnLaunch in every conceivable form with no effect, I kept it in my original activity in the manifest, then put it completely in every activity, To ensure this, completely restarted your application after hitting the process. My activity stack is not just being cleaned. The setting uses it as an example - if you go to settings, slid a little down, press home, and then restart the settings, you end instead of home activity Wherever you were last, it only sets the flag on the main activity of your app.
Comments
Post a Comment