Android notifications are great, but they’re not perfect. The way that some notifications pop up on the screen can be annoying, especially if they’re not important. Thankfully, you can stop this from happening.
How-To Geek
https://www.howtogeek.com/723248/how-to-stop-android-notifications-from-popping-up-on-screen/