NEW YORK (AP) — Police commissioner says detective fatally shot in New York City was killed by friendly fire.