USB Debugging revoke message when plugged in to computer


Mar 28, 2022
Since previous phones became inaccessable due to screen was broken I lost various stuff due to USB debugging being turned off and phone could not be accessed from my computer.

Now I have turned on USB debugging on my Xiaomi Redmi Note 8, but everytime I connect my phone to the computer, there is a notification that asks if I would like to disable USB debugging. The notification can easily be touched involuntarily. I have no intention to disable USB debugging.

So how to prevent this stupid notification from appearing all the time when plugging it into USB connection to my computer?