代码改变世界

SingleTask Activity可能会收不到Intent

2010-11-26 17:02  cppguy  阅读(533)  评论(0编辑  收藏  举报

当一个Activity lauchmode声明为SingleTask的时候,如果有其他的Ativity坐落在它的上面,这个Activity会收不到Intent。

t is not in position to handle the intent, and the intent is dropped. (Even though the intent is dropped, its arrival would have caused the task to come to the foreground, where it would remain.)