It actually happens in every oneplus device
What you have to do is to delete the oem_log folder 📂from the file manager.
If it doesn't work try...
Then solve it Genius
You can find this option in Settings> Gestures> Pocket Mode
or simply search in settings
Just search it inside settings
or go in gestures there you can find it
You need to update duo to latest version
Go in device administrators and turn off find my device
when situation is under control after 2-3 days then turn it on
No need to worry about that it happens when apps are working too much in background
Go in About Phone
tap on build no 7 times and developer options...
you must do it manually or factory reset your device
hope it helps
You must restart your phone
If it still shows then it seems like your fingertips are wet because of a hand sweating clean them and wipe screen then...
When you will try to install oneplus drivers the pc will automatically reject it due to unidentified company.
you should allow third party drivers...
Go to settings
tap on build no 7-8 times
developer options will open
scroll down and look for "Background process limit"
set it to " at most 2...
it seems like dust particles have choked your sensor like mine, you can take it to service centre or clean it on your own
Please port atleast Oos 5 or 9 to oneplus 2