Actually apple lost that battle. It was deemed that warranty could not be invalidated by jailbreaking the phone.