The American Civil Liberties Union gave notice on Thursday that it will continue its legal case challenging the constitutionality of the National Security Agency’s collection of all US phone records, drawing the federal appeals courts into a decision on the controversial surveillance.