Merge "getPrimary APIs now examine all non-duplicating output threads" into nyc-mr1-dev