Samsung is developing  “Environmental Sensor” according to the Patent office of South Korea, as reported in GSMarena. Having a look at the graphics in the document, the sensor most likely will detect a number of particles along with the change resistance and will provide data about air quality. It will be built into smartphones, tablets, smartwatches.

       

The environmental sensor will be built into the display without taking actual screen space.

Further, there is no such information if such project will be ever made for mass production. Afterall, the patent application is just a bunch of documents explaining how a technology works in theory and also giving the right to the owner to develop it.