The two companies have been battling for years in and out of court.