How to Block Heads-Up Notifications in Games on Android
Heads-up notifications on Android is a very useful characteristic. While this setting is on, you become heads-upwards notifications on the tiptop of your screen for a small duration, thus saving you lot the try of viewing them from the notification drawer every time. Though you may turn off this setting completely, there is no way to turn it off for only some particular apps. Having said that, there are phones out there like the Galaxy S8/S8+ and the OnePlus v which have a game mode that tin block them for selected apps. However, if you use stock Android or whatever other skin that does not feature such a mode, here is how to cake Android heads-upwards notifications in whatsoever app:
Prerequisites to Block Android Heads-Up Notifications
Before we learn how to block heads-up notifications while in games and video apps, there are a few things that you will require in the process. Hither is a list of those things for a seamless procedure:
- Download Tasker (vii-twenty-four hour period trial, $two.99) and ane of its plugins called SecureTask (free).
- Depending on your device OEM, offset download the USB driversand so install them. If you are unsure of how to go about that, the aforementioned link has the guidelines for that.
- Download the ADB Binary files according to your platform.
- Download a software similar WinRAR to excerpt compressed files and folders.
- Enable Developer Options on your Android device. You can do this past going to Settings –> Virtually telephone, and borer 7 times in succession on "Build number".
Annotation: I am using a computer with Windows x Pro and a rooted Moto G3 with a custom ROM and Android seven.i.1. The post-obit method can work with any non-rooted device besides.
How to Block Android Heads-Up Notifications in Games or Video Apps
When you think of whatsoever arrangement tweaks that are non natively provided by Android, the outset affair that comes to your mind is Tasker. It is a great app that lets you customize your telephone beyond what you can imagine – and most of them don't even require a root access. Once you lot take taken care of the prerequisites, y'all tin go along with the steps mentioned below.
- In your phone, become to "Developer options" and enable "USB debugging". In some devices, this may appear as "Android debugging". You will be prompted for a confirmation. Tap on "OK" and then plug in your phone to your estimator.
- On your computer, extract the ADB Binary files in a folder. I extracted it on my desktop. Now open this extracted binder and while belongings the Shift key, right-click anywhere on the screen. Yous should now come across an option called "Open PowerShell window here". Click on this.
Note: If yous are not using the latest build of Windows, this option would exist called "Open command window here". Too, you tin open up Final on Mac to complete the same procedure.
- In the PowerShell/Command Prompt window, blazon "adb devices" and hitting enter. If this was the was commencement time you did this, yous'll get a prompt on your telephone. Tap on "OK" to allow it.
- Once again type "adb devices" in the PowerShell window on your figurer followed by hitting enter. This should now listing your phone every bit an attached device. If information technology doesn't, the drivers didn't become installed properly.
- Now, on your phone, go to Settings –> Accessibility –> Tasker. Toggle this on, as this volition be needed past Tasker in gild to recognize the app in use.
- Afterwards yous do this, open SecureTask and grant all the permissions it requires. Now, back on your estimator, in the same Windows PowerShell/Control Prompt window, type "adb shell" and hit enter. Follow this by execution of the following command:
pm grant com.balda.securetask android.permission.WRITE_SECURE_SETTINGS
- Go dorsum to your phone and open Tasker. Under the "Profiles" tab, tap on the plus icon on the lesser-correct of the screen and so cull "Application".
- From the list of apps that you see, select the ones for which you desire to block the heads-up notifications, and so get dorsum. I selected Subway Surfers on my telephone. When you lot come back to the Profiles tab, tap on "New Task".
- You lot'll now be prompted to name it. As it is optional, you lot can choose to skip it. Finally, tap on the bank check marking displayed on the screen. In the following "Task Edit" screen, tap on the plus icon to add an action.
- From the action category listing, select Plugin –> Secure Task –> Secure Settings.
- In the "Activity Edit" folio that follows, tap on the edit icon against "Configuration". The icon will exist shaped as a pencil. You may get a warning after this. Ignore it and tap on "OK" to go on.
- You'll now land on the configuration page for SecureTask. Hither, change the "Action" to "Write". At present input "New value" as '0' and blazon the following in "Setting":
global heads_up_notifications_enabled
- When you save this, go back to the main screen of Tasker, and under the Profiles tab, long press on the text written on the correct-paw side of the dark-green arrow. From the menu that appears, tap on "Add Go out Task". Over again, you lot can cull to name this task and so tap on the cheque marking.
- At present, like to the previous steps, tap on the plus iconto add an action, go toPlugin –> Secure Task –> Secure Settings. While editing configuration, again modify "Activity" to "Write", and enter the same value every bit to a higher place in "Setting". The only change in this footstep is to enter the "New value" as 'i' instead of '0'. Save this before finally going dorsum to the main screen of Tasker.
Now the side by side time you open up any of these apps (Subway Surfers in my example), the heads-up notifications would be blocked automatically. And when you lot exit the app, they'll be enabled over again. If yous ever desire to add together or remove any of the apps to this list, you can do that by tapping on the listing of existing apps under the created profile.
SEE ALSO: How to Group Notifications by App in iOS ten
Disable Heads Up Notifications to Play Games and Watch Videos Conveniently
Given that how irritating it can be to get notifications on your screen when you lot are playing on a game or watching a video, information technology merely makes sense to cake them. But the simply option you'll notice in your phone's settings is to block them completely – for all the apps. However, now that you lot have read this commodity, you can now cake them for any particular app that yous desire. Autonomously from the aforementioned method, is there any easier method that you lot know of? Do let me know in the comments section below.
This tutorial was first posted on XDA Developers. We tried it out and it works without any problems.
Source: https://beebom.com/how-block-heads-up-notifications-games-android/
Posted by: weaverfestand.blogspot.com

0 Response to "How to Block Heads-Up Notifications in Games on Android"
Post a Comment