WASHINGTON (AP) — A U.S. military pact with the Philippines and Washington's decision to ease an arms embargo against Vietnam show the Obama administration's commitment to deeper security ties with Asia.

But Mideast unrest has undermined hopes of making Asia the heart of U.S. foreign policy.

The shift toward Asia was intended to be President Barack Obama's signature push in foreign affairs.

As the U.S. disentangled itself from wars in Iraq and Afghanistan, the idea was that it would devote more military and diplomatic attention to the Asia-Pacific and American economic interests there.

The world hasn't turned out as planned.

Washington is struggling with the chaotic fallout of the Arab spring, a growing rivalry with Russia and the alarming rise of the Islamic State group, which has led the U.S. to launch airstrikes in Iraq and Syria.

For now, the growing tensions in the South and East China Seas and U.S. efforts to counter the rise of an increasingly assertive China appear peripheral concerns. That's why this pivot to Asia gets few people excited in Washington these days.

Obama didn't even mention it in a foreign policy speech in May. Further, negotiations on a trans-Pacific trade pact — the main economic prong in the pivot — have been mired by differences between the U.S. and Japan over agriculture and auto market access and by opposition to the pact among many of Obama's fellow Democrats.

But the administration is chipping away at its grand plan for a rebalance to Asia that began within months of Obama taking office in 2009, when the U.S. signed a cooperation treaty with the 10-nation Association of Southeast Asian Nations.

The U.S. has since ended its decades-long isolation of Myanmar, also known as Burma, in response to democratic reforms there.

It has taken a more strident stance against Chinese aggression in the South China Sea and some concrete steps to shore up its allies' ability to respond.

In April the U.S. signed a 10-year agreement to allow thousands of U.S. troops to be temporarily based in Philippines, 20 years after U.S. bases there were closed.

Like the Philippines, Vietnam has been engaged in standoffs with China over disputed reefs and islands.

Tensions spiked between May and July after China deployed a deep-sea oil rig near the Paracel Islands. The vessels of the two sides rammed each other near the rig, and there were deadly anti-China riots in several industrial parks in Vietnam.

On Thursday, the State Department announced it would allow sales, on a case-by-case basis, of lethal equipment to help the maritime security of Vietnam. That meant easing a ban in place since communists took power at the end of the Vietnam War in 1975.

The U.S. won't be rushing to Vietnam's defense, and it doesn't want to be directly involved in negotiating territorial disputes that also involve Brunei, Malaysia and Taiwan. But Washington says it has an interest in the maintenance of peace and stability and equipping nations to defend themselves and deter aggression.

Vietnam said that step would promote the U.S.-Vietnam partnership.

But the move was opposed by rights activists, unpersuaded by Washington's argument that Hanoi has shown some improvements on human rights and would be encouraged to make more.

John Sifton, the Washington-based Asia advocacy director for Human Rights Watch, said Vietnam's changes have been superficial and contended that the U.S. is reversing decades of policy for marginal strategic benefit.

Sen. John McCain, R-Ariz., said the action would strengthen defense cooperation to the benefit of both countries. McCain, who was held captive as a POW during the Vietnam War, is a critic of the administration's foreign policy but supports the rebalance and pushed for the easing of the ban.

But McCain foreign policy adviser Chris Brose said the U.S. still has to convince Asia that the rhetoric of the pivot can become reality.

"The question is not whether America is doing something. Clearly America is," Brose told a Washington think tank Friday. "The question is whether what America is doing adds up to a set of actions that's fundamentally impacting China's calculus."

___

EDITOR'S NOTE — Matthew Pennington covers U.S.-Asian affairs for The Associated Press in Washington.

___

Follow Matthew Pennington on Twitter: https://twitter.com/mattpenn_99