Android Lollipop :Task process and intent flags -


i have 2 apps let's , b. app a has activity x , app b has activity 1,2. in app b activity 1 launcher activity no flags , activity 2 singletask activity 1 starts activity 2(for result) no flags. in app there button in activity x starts app b's activity 1 new_task_flag.

my question when tap on button have 2 tasks i.e x , 1->2, on pressing hardware home button , launching app b behaviour of these task. understanding task 1->2 should come in foreground see multiple instances of activity 2 stacked on task. missing here ?

i have gone through several stackoverflow posts android task , process, singletask , singleinstance (david's elaborate answer) , google docs unable figure out problem here.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -