What does this part function as on a 6s plus front facing camera?
Today while I was doing a 6s plus repair I broke this little square off of the front-facing camera. (Image above) I am curious what it functions as.
I assumed it was the proximity sensor so when the customer puts their phone to their ear it will no longer be a black screen.
This was my first time breaking that off after several repairs. I guess it was a tad stuck in there. Also, what are some methods you use to prevent this from happening?