The ruling is not so much about whether they can search a phone without a warrant, but whether the resulting evidence is admissible in court for criminal cases. This will not impact NSA's collection since they have not been using it in court.
Out of curiosity, does anyone here know the current state of legal challenges that aim to stop the practice of parallel construction?