Light Sensor Related Issue
If your light sensor is not working or delayed, please refer to the following solutions:
1. Please try to clear the cache, back up all the data and flash to the latest OS version.
2. Check if you're using a third-party phone/dialer app, if yes, please uninstall and try again.