When you are listening to music and receive a text from someone, the music is muted for a few seconds. This is a very useful feature as it notifies you of a received text, but sometimes it gets irritating, and there is no way to stop notifications on the OS level while listening to music. Here, we are going to explain a straightforward way to turn off notifications while listening to music or enable them when you stop listening.
Disable Notifications while Listening to Music
Follow the enlisted steps carefully.
- Open Play Store.
- Search for ‘Tasker’ app in the search bar.
- Tasker is a paid app available on the Play Store for $2.99. Once you buy the app, close it. First, you have to configure your device settings.
- Go to ‘Settings’.
- Open the ‘Accessibility’ menu from Settings.
- From the Accessibility menu, select ‘Tasker.’
- Here, you’ll see a toggle switch at the top right corner of the screen. Make sure that the switch is enabled. If the switch is off, turn it on.
- Launch the Tasker app to start setting things up.
- Once the application is launched, tap the ‘+’ sign. You will find it at the bottom right of the screen. A list will appear. From the list, select ‘Application.’
- Now, a new window will open where you’ll find all the applications that are installed on your device. What you have to do is select all the applications that you use to listen to music or to stream a video. This will help you to stop receiving notifications while you are using any one of these apps.
- Press the back button. Here, Tasker will ask you to associate a task with this profile. For that, tap on ‘New Task’ and write ‘DND’ or ‘Do not disturb’ or anything you want to write.
- Now, add an action to the task. So, tap on the ‘+’ sign at the bottom of the screen. A popup window will open. From here, select ‘Audio’ and then choose ‘Do not disturb’.
- Press the back button. Tasker will ask you to enable its notification access service. Press ‘OK’.
- A new window will open. To enable a Tasker, tap on a toggle switch. When you are done, press the back button twice.
- Till now, what you have done is you have enabled a Tasker Do not disturb. It will turn off all the notifications when you are listening to music or streaming a video. But notifications will remain disabled when you stop listening to music. So, now you have to turn Do Not Disturb mode off when you stop listening to music. To do that, long-press the task portion of your profile and choose ‘Add Exit Task.’ Then select ‘New Task’ and name this task as ‘DND off’ or ‘Do not disturb Off’ or whatever you want.
- Tap the ‘+’ button on the bottom of the screen to add a new action to this task.
- Here, again, select ‘Audio’ and then choose ‘Do not disturb.’ After that, tap on a drop-down menu under the ‘Mode’ heading and select ‘All.’ When you are done, tap the back button twice.
All set. What you have done till now is create two tasks with different actions. Whenever you start listening to music, your ‘DND’ or ‘Do not Disturb’ mode will turn on, and all the notifications will be disabled. As soon as you stop listening to music, your ‘DND Off’ or ‘Do not disturb Off’ mode will turn on, and your notifications will be back to normal. In this way, you can turn off notifications while listening to music.
If you have some difficulty setting this up, let us know. If you have any queries regarding how to turn off notifications while listening to music, then let us know in the comments below.