Google has been discouraging the use of overlays for years, since they are commonly used by malware. Android 10 removed the ability for the overlay permission to be permanently granted (it would go away after a reboot, in most cases), and the company even hinted last year that the API might go away entirely.
Read More