android - singleTask Activity called from Service doesn't trigger onNewIntent -


my understanding singletask activity, if exists already, not going created again, onnewintent going called.

in fact, that's happens when start intent activity, not service.

furthermore, noticed doesn't happen if declare activity singleinstance (i.e in case, service onnewintent called) involves stack complications don't want.

my undesrtanding onnewintent called, if have instance of singletask activity running, , work way activity not service.

why that, , should keep stack intact , bring existing activity top service?

note: have flag_activity_new_task when call singletask activity.

thanks!

i tested , onnewintent called when launched service. think happens task killed system, when launched service new task created , onnewintent not called.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -