In The Hobbit: An Unexpected Journey (2012), when the company arrive to Rivendell, Gandalf is asked to attend a surprise reunion with Elrond, Galadriel and Saruman the White. Saruman then opposes himself to Gandalf's involvement with the Dwarves and his plan to get rid of Smaug. Gandalf then reveals his concerns about the Necromancer, but Saruman is skeptical, not believing the Necromancer to be a true threat and minimizes the danger.
But we learn in The Fellowship of the Ring that Saruman desires the One Ring and forged a secret alliance with Sauron.
Was Saruman's secret plan settled when he meet Gandalf in Rivendell?