Merge "Pass full AttributionSourceState across Java/Cpp boundaries." into main