In its terms and conditions, Google said it could keep devices sent in for repair if they have a non-OEM part. This will be changed now.
In its services and repair terms and conditions, Google says it will keep devices sent in for repair if they have a non-OEM part.
Update:
Google changes repair policy after criticism of third-party parts ban
Google previously said it would not return mailed-in devices using "unauthorized" parts.