文档中如是说
if the activity you are launching uses the singleTask launch mode, it will not run in your task and ts you will immediately receive a cancel result.
也就是无论启动模式设置为singleTask 还是singleInstance,都无法获取到返回值,onActivityResult会收到RESULT_CANCELED
if the activity you are launching uses the singleTask launch mode, it will not run in your task and ts you will immediately receive a cancel result.
也就是无论启动模式设置为singleTask 还是singleInstance,都无法获取到返回值,onActivityResult会收到RESULT_CANCELED