Yes, and the angle of attack sensor also stops the stall warning if it reads a value above a certain threshold, discarding the value as invalid.
But apparently the airplane can still fly for a short time even at this crazily large angle. Therefore when the pilot did the right thing to reduce the angle, he triggered the stall warning again and completely got confused. I think this is a major design flaw in Airbus's system.