Tech

Google Android: How To Stop Notifications From Ruining Your Game

By  | 

Without games, smartphones can get very dull and this is why there is at least one game being played by every user on the Android platform. Some games are more complex than the rest and it is these games which players don’t wish to get disturbed when playing.

While putting the phone in airplane mode may sound like a solution, it won’t work out well if the game requires a connection to the internet. Besides, having airplane mode switched on will also prevent you from receiving calls. So how do you stop Google Android from relaying notifications when you play your game?

Thanks to the lads at XDA, we now know a workaround for it and the best part is that it does not require root. You can simply follow the steps below:

1. Install USB drivers for your particular device OEM (Google provides a list of some universal USB drivers here). Likely only necessary for users on Windows.
2. Download the ADB binary for your particular operating system (Windows, Mac, Linux).
3. Extract the contents of the ZIP file above into an easily accessible folder on your PC (like Downloads).
4. Go to the Settings app on your phone and tap on the About Phone option. Depending on the OEM, this may be in a separate tab. When in doubt, just use the search feature in Settings to find it.
5. Find the “Build Number” value in About Phone and tap on it 7 times to enable Developer Mode.
6. Go back to the Settings main menu and enter Developer Options so you can enable USB Debugging Mode. Find it and enable it.
7. Plug your phone into the computer and change it from “charge only” mode to “file transfer (MTP)” mode. This is not always necessary but it may be required on your device, but there’s no harm in doing this step.
8. Go back to the PC and navigate to the directory where you extracted the ADB binary from before.
9. Launch a Command Prompt/Terminal in this ADB directory. For Windows users, you can easily do this by holding Shift and then Right-clicking then choosing the “open command prompt here” option.
10. Once in the Command Prompt/Terminal environment, enter the following command: adb devices
11. This will start the ADB daemon. If this is your first time running ADB, you will also see a prompt you to authorize a connection with the computer. Allow it.
12. Now re-run the adb devices command from step 10, and you’ll see the serial number of your device in the output. If so, then you’re ready to move on. If not, then the USB drivers need to be re-installed.
13. Launch the Settings application and go to the Accessibility Services page, then grant Tasker Accessibility permissions. You need to do this so Tasker can monitor when the game or media app you’re using is active.
14. Launch SecureTask, accept the license agreement, and grant the requested permissions.
15. Execute the following command in the command prompt or terminal: adb shell
16. Then execute the following command to allow SecureTask to work properly here:pm grant com.balda.securetask android.permission.WRITE_SECURE_SETTINGS
17. Launch the Tasker application.
18. In the Profile tab, tap the plus (+) icon
19. Tap on the Application option
20. Select the media/video applications or games you want to hide annoying notifications for. Tap the back button once you’re done.