I'm fairly certain that "face detection" simply detects the face and focuses on one when you take the photo. You just see the other one in focus because tiny cell phone sensors give you massive depth of field, and most faces are relatively close to one another in the focal plane. A camera can ONLY focus at one distance at a time.