Nokia Oyj won an almost two-year patent dispute with Apple Inc., in a settlement that awards a one-time payment and royalties to the Finnish handset maker. Nokia rose as much as 4.1 percent in Helsinki trading. The agreement will bolster the Devices & Services unit’s second- quarter profitability, Espoo, Finland-based Nokia said in a statement today. The details of the contract, under which Apple will pay an undisclosed sum and royalties for the term of the agreement, are confidential, Nokia said.