1/09/2019

2019 How to Disable Android Notifications When Playing Music





How many times have you sat down to listen to some soul-stirring songs on your Android and ended up getting distracted by the sound of a silly promotional message? In such cases, the most obvious workaround is to switch to the Silent mode. Does it not look a tad too manual in this age of automation? So, there must be another way, right?



Well, that's the whole point of this article. There is a way to automatically disable notifications whenever you are playing music on your Android. It requires just a one-time setup, and once it's finished, you can bid farewell to the annoying notifications.

We will take the help of an app called MacroDroid, an automation app like Tasker, but without the complications.
WHAT IS MACRODROID

It is an automation app which has been on the Play Store since 2012. Whether it's configuring NFC tags for cool automation or automating system level jobs, MacroDroid can ease your life manifolds through easily understandable macros.



Download MacroDroid

MacroDroid is free to download from the Play Store. Unlike Tasker, creating macros on this app is uncomplicated. The app needs two necessary elements for creating macro — Triggers and Action.

Triggers are device events like launching an app or turning a device setting on. On the other hand, Action is what the device will do after the trigger activates.



Moreover, there are many ready-made templates that you can tweak as per your convenience. The free version of MacroDroid lets you create up to five different macros. For more macros, you can upgrade to the Pro version with a $2.50 one time payment.

Now that you know about the app let's see how we can use it to disable notifications when playing music on Android.
HOW TO DISABLE ANDROID NOTIFICATIONS WHEN PLAYING MUSIC

We will create two macros for this method to work end-to-end seamlessly — one to enable the DND mode when the music is playing and the other to disable the same when the music has stopped.

Step 1: Tap on Add Macro > Device Events and select Music/Sound Playing.



Now, select the option Started.



Step 2: Next, tap on the Actions tab, scroll down and choose Volume > Priority Mode/Do Not Disturb option, and select Allow Priority Notifications.



If you are using MacroDroid for the first time, you'll need to provide the system level permissions. Just toggle the button and once enabled, tap on the Back button.

Step 3: It's not mandatory to add constraints. However, if you choose, you can do so. Constraints can be anything like device status or time/date when you don't want the macro to be triggered.



For instance, if you are in office and would like the notifications to come through normally, you can enable the Date/Time restriction.

Once you've entered all the relevant details, Tap on the Tick icon. Give it a name and select a category. Congratulations, you've just created your first macro!

Now start playing your favorite song on Spotify or a video on YouTube. Be it a promotional notification, or regular app updates, and unwanted notifications won't bother you anymore.
TWEAK THE DND MODE

At the same time, don't forget to tweak the DND settings on your phone as well. By default, it bans everything. So, if you want to allow calls, reminders, and text messages, all these can be modified under the DND settings.



Head over to Settings and search for Do not disturb. Tap on and modify the settings as per your convenience.
RE-ENABLE NOTIFICATIONS

In a few phones like the Galaxy Note 9 and the OnePlus 6T, switching off the DND mode is as easy as toggling a switch in the Quick Settings menu. However, this simple task is easy to forget. Just the other day, I ended up missing three important phone calls.

As mentioned above, you can restore the system settings to normal with a second macro. All you need to do is reverse the first macro.

Step 1: Start by creating a new macro. Just this time, select Stopped for the option Music/Sound Playing.



Step 2: In the actions tab, tap on Volume and select the option Allow All.



Naturally, for this macro, you do not need any constraints enabled. Just tap on the Tick button and save the new macro.

From now on, your phone will only alert you of priority notifications whenever you listen to your favorite audio tracks. And once you're done listening to them, your phone will revert back to the normal mode. And all of this will happen without you raising a finger.

The best thing is that you do not need to reconfigure the macro every time you install a new music app.
ONE MORE THING

With apps getting power hungry by the day, the built-in battery optimization feature is more efficient. If the system detects apps that are guzzling more battery juice or apps that you aren't using, it puts them to sleep automatically.

So, if the system puts MacroDroid to sleep, then the chances are high that your macros won't get triggered. Hence, the first thing that you should do is put the app in the Not optimized list.



To do so, head over to the battery settings of your phone. If you are a Samsung user, you will find the option under Device Maintenance. Now, tap on Battery optimization, scroll down until you find MacroDroid and select Don't optimise. As easy as that!
ALTERNATIVE METHOD: DON'T PAUSE

If you'd rather go with a single-tap method of enabling a DND mode each time you launch your music app, the best option is to get Don't Pause.



This app does what it says. It lets you listen to music in all of its glory without any distracting sounds. However, this app isn't on the Play Store, but luckily, you can download it via a link from XDA Developers Forum below.

Visit XDA Developers

Once you've sideloaded it, you will see a sticky notification. All you've to do is hit the Play button and bid goodbye to all the other sounds. But before you do that, go over to the settings menu (tap on the Share icon at the top-right corner) and check the Only Silence Notifications option.



Of course, this isn't a foolproof method like the MacroDroid one. But this one is a clever hack if you don't have a nifty Alert slider like the one on the OnePlus devices.
IS THERE A PERMANENT FIX?

If you throw out the shopping apps, image editing apps and a few odd games, you'll realize that notifications aren't that annoying. But truth be told, phones without apps make for a pretty boring one.



Since the Android 8.0 Oreo update's release, turning notifications off for individual apps is a cakewalk. Just go to Settings > Apps & Notifications, select the apps and toggle the notification button off.
HELLO, ZEN!

So, that is how you can disable or block notifications on your Android when playing music. The good thing is that MacroDroid automates the whole task and doesn't let you know of the background switch, as in when the phone switches to the DND mode and back. Once you turn the music off, you will be able to see all the missed notifications at once. That is something which you can't do if you stop the app notifications permanently.

Which method will you prefer? Letting a macro do the job is way cooler!

Related Posts:

5 Best PUBG Android Emulators for PC

How to Download Instagram Videos and Photos on Android

Best 15 Nova Launcher Themes 2019

6 Best Song Finder Apps to Recognize What Song is This

6 Best MIDI Keyboard Apps for Android

Top 8 Snapchat Saver Apps to Save Snapchats Secretly on Android, iOS and Windows




Jihosoft Photo Eraser

Erase unwanted objects and perfect your amazing photos!

Remove objects from photos with Photo Eraser is almost as easy as taking a shot. Now you can use this tool to erase undesirable objects from your pictures, such as tourists, watermarks, logos, texts, blemishes and other unwanted things without real photo-editing skills required at all.





Jihosoft Android Data Recovery

The most powerful and professional data recovery software for Android that can restore deleted or lost contacts, photos, videos, audios, SMS, call logs, WhatsApp chat, Viber messages from any Android devices due to accidental deletion, virus attack, formatting. It supports all popular Android smartphones and tablets like Samsung, HTC, LG, Huawei, Motorola, Nexus, etc. In the meantime, you will be guided step by step if you never used this kind of tool before.



No comments:

Post a Comment

Featured Post

iOS 12 group Facetime, Supports upto 32 people simultaneously

Apple introduces a group facetime in iOS 12 that supports video call up to 32 people at the same time along with the LIVE Memoji. It’s ...