be sure nothing is in front of the red marked area. Maybe putting the phone under a bright lamp can help. if not: press the power button for very long tome to restart. you can turn this "prevent pocket deal" setting of in the settings. Maybe calibrating proximity sensor also help for the future.