U.S. Defense Secretary Robert Gates visits Jakarta to announce that Washington is resuming military ties with Indonesia.