The lawsuit alleged that Android devices transmitted data to Google in the background without users’ permission.