Debug documentation suggests that the Pixel 7 and Pixel 7 Pro will both feature a Hall sensor used to detect magnets inside flip cover cases.