文檔中如是說
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