Phone warranty with a crack on screen

Solution
Thats a sticky issue, if you can prove the two problems are unrelated, then maybe they will honor the warranty for the defective portion.
However, most likely they will say you voided your warranty.

Call and see what they say.