Google has agreed to a $135 million class-action settlement to resolve claims that it carried out passive data transfers through the Android operating system without consumers’ knowledge or consent.