Merge "Align "from code" parent-child preference flow with "from XML""