On error: ResultInfo {who = null, request = 0, result = -1, data = null} What is who = null?
1 answer
This is the activity id. This is often null. When your activity code runs, the activity is already identified and does not need to be reflected in the method signature.
If you're wondering where the ID comes from, here are some starting points for backtracking:
-
ResultInfo
which creates a string representation -
sendActivityResult()
which buildsResultInfo
with id -
startActivityForResult()
which callssendActivityResult
withmEmbeddedID
-
mEmbeddedID
initialized toattach()
-
attach()
caused byActivityThread
0
source to share