onActivityResult do not fire if launch mode of activity is singleInstance

前端 未结 5 1863
無奈伤痛
無奈伤痛 2020-12-02 20:52

I have an Activity which is basically my main activity and its launch mode is single instance. But because of singleInstance, the onActivityResult() callback do

5条回答
  •  盖世英雄少女心
    2020-12-02 21:26

    A "singleInstance" activity, permits no other activities to be part of its task. It's the only activity in the task. If it starts another activity, that activity is assigned to a different task. The activity is always the single and only member of its task.
    I think onActivityResult will not work with singleInstance

提交回复
热议问题