a federal judge friday ordered eastman kodak co. to pay to polaroid corp. $ 909.5 million for infringing on instant camera patents , ending a 14-year legal battle with what is believed to be the largest such award in history .