Merge "Check domain preference when getting selectable network type" into main