Apple and HTC settle on patent issues.