Shanghai hotel provides smog-masks for guests

Yes, saw these in our hotels in Shanghai and in Nanjing. They are for escaping the building in case of fire, not for walking around in the city.