Hello,
I present my new app...
The issue...
Some versions of Android still play audible notifications when "do not disturb" mode (also called "night mode") is selected, which can be very annoying.
The solution to this problem is not easy, and should be implemented by the OEMs itself, but while that solution arrives (we trust it), we have found an alternative solution that mitigates the problem: detect when a notification arrives and deactivate the device sound while it plays.
Well, it really isn't that simple...
Apps, not even those that implement notification subsystem management operations, can't modify notifications from other apps.
What we can do is detect the notification and silence the phone while it lasts.
But there is another added problem: In the latest versions of Android with the inclusion of notification channels, notification management apps are prevented from knowning the sound that a notification is using.
Our solution...
The solution we propose, which (partially) solves the problem, is to propose that you select which applications you want to mute when the device is in "do not disturb mode" and, for each of those applications, indicate the notification sound they use, which It will allow us to calculate the approximate time that we have to silence the device to prevent the notification from being heard.
PERMISSIONS
Notifications Listener (mandatory)
Read External Storage (optional)
Read Phone State (optional)
PLAY STORE LINK
https://play.google.com/store/apps/details?id=com.ryosoftware.silentnotifications
Related
I have noticed this bug on my Atom with O2 Plus and need confirmation from other users before I try to feedback to their support.
I have found that my Atom intermittently does not sound Notifications and Alarms. Couldn't figure why for awhile then I discovered this workaround :
1.
Using O2 Plus, switch profile to Silent. You will notice speaker icon on the top bar shows muted.
2.
Switch profile back to Normal. The icon at the top bar now shows the speaker as ON (but actually notifications and remoinders will now fail i.e. not sounding)
3.
Go to Settings / Sounds & Notifications / Notifications
On the Event drop down, select reminders
4.
You will see your notification alarm sound with a "test play" button.
Hit the test play button a couple of times, then wait a few seconds.
5.
You will mysteriously see the speaker status in the top bar change to MUTE !!! Click on it, turn speaker back on, close all the windows. Your notifications will now sound correctly at the appointed alarms and calendar times.
It seems the O2 Plus profile when switching back from silent to normal does not do a full job in turning on the notification sounds, just system sound or something like that.
If you carry out this procedure everytime you switch your profile you will no longer have missing / silent notifications !
Can other users confirm this bug / phenomenon ?
Anyone able to write a simple proggy or script to do the above procedure automatically ?
Haven't noticed it before, and I haven't missed any notifications, but you're right.
yeah i noticed this!!!THANKS FOR THE FIX!
just to add.besides notifications, you also lose screen taps when switching from different profiles.this apparently is not fixed by your solution.
What I'm looking for is any ideas or suggestions on how to make Lollipop behave more like KitKat did for notifications with a Pebble.
What I used on Kitkat:
- Pebble watch for all notifications (using the Pebble software and Pebble Notifier to send all/most notifications to the watch)
- Phone on Silent mode
- Alarms ring on phone
This is a good combination for me as the phone stays quiet and the Pebble lets just me know what is going on.
On Lollipop
I want the same kind of setup now, but the lack of Silent mode makes this harder to achieve. I do know the trick to set the volume one above Vibe then reboot, and that does work... but it's a kludge.
- the Priority Interruptions actually silence all pebble notifications, so I have to keep it to All to get it, which then causes the phone to vibe too (unless I do the reboot trick).
So, does anyone have a combination of settings that makes this work like the KitKat days?
Here are a few thoughts on dealing with this. I use Llama or Tasker to get silent mode. Turning on silent mode in either of these turns on priority mode and then I use them to set the notification volume to 0. I have some Tasker stuff to toggle this from the pebble, and it's quick to switch profiles from the Llama notification on the phone for where location profiles don't already do what I need.
As to priority mode preventing pebble notifications, that can be avoided too. The gmail and calendar and call notifications work fine with the pebble app. I use light flow (but notification center should work too) for third party notifications. You have to add the application that forwards notifications to the list of apps that can notify in priority mode. So in addition to hangouts and other apps that I want to receive notifications from, I set light flow notifications to priority mode too (and in light flow I disabled their persistent notification because I don't need it).
I never leave priority mode on the phone, I just change the notification volume through profiles in the above apps. It works fine, and I get all notifications on the pebble.
Hope this helps.
Edit: And this does the right thing for alarms, since alarms are always priority.
I'm doing the same thing basically - I had Tasker rules to silence the phone (alarm volume = 0) in certain conditions, and when I upgraded to Lollipop they still worked. Not free, but it's workable. There are still some issues though that I haven't figured out, I'm not sure Tasker can un-slient a phone in that state (volume buttons will override) and of course Tasker doesn't know about the various priority modes at all yet.
Sometimes, during the day, I set my Phone with Android 7.1.1 to Do Not Disturb mode. However there are some notifications that I don't wanna miss, and I mean that I also want to hear the notification or alarm sound.
So I went into Settings > Applications and for my important apps (Reminder [1] and Whatsapp) I went in notification settings and I enable "override do not disturb" for both apps; furthermore I disabled these apps from battery optimization.
Well: despite the fact that I set these apps to "override do not disturb", when these apps receive/display a notification with a certain sound when DND is active, I only can see them with the LED and I can't hear any sound (but the notification is however displayed also on the lock screen).
So is a matter of no sound played. All is ok when DND is not active.
I miss something or is a know bug?
[1] Reminder app: https://play.google.com/store/apps/details?id=com.arthurivanets.reminder
Mister_Dave said:
despite the fact that I set these apps to "override do not disturb", when these apps receive/display a notification with a certain sound when DND is active, I only can see them with the LED and I can't hear any sound
I miss something or is a know bug?
Click to expand...
Click to collapse
Sorry for the noise: I reply to myself, since I found the solution (imho very hidden).
On the DND icon in the bar menu i double clicked and some options appeared: I choosed "Priority only", so the apps which are set to "override do not disturb" now are able to play a sound when the phone is set to DND.
I hope that this solution could be useful to someone.
This is the topic on sony forum: https://talk.sonymobile.com/t5/Xper...pp-content-on-notifications/m-p/1282131#M9749
Can anyone else confirm that iussue? Are you able to silence the notifications...without they "come back" to be active by theirself? Is very annoying...
Even if i set on oreo app notification "low"....when a i receive a message it turn on automatically on "urgent" again...
I found a trick by myself. The problem is that the notification channel on android oreo reguarding an application "prevails" on the settings within the application itself, in this case whatsapp. If we want, as in my case, to receive notifications of a new message only in the notification bar (without pop-up on the screen) and without sound, it will not be enough to adjust the settings only within the application, but we will have to do it in the new "notification channels" introduced with oreo. However, there is one however, if we set the notification when a new message arrives on "low" (without sound and without visual interruption) at the next message, Oreo will change "by itself" this setting on high , with sound and pop-up screen. Even within the application itself the settings will be changed with the sound on, while those regarding the pop-up notification will remain the same, although the pop-up will be displayed theanyway. The only way to prevent Oreo from overwriting and shaking our settings is this: 1) Adjust the desired settings within the application (no sound, vibration on, NO pop-up) then go to the notification channel of whatsapp and set the importance of the message received on "high", then click on it and change the ringtone to "none". In this way we will to not receive the pop-up on screen notification and settings will be respected. It seems to work, although this morning the urgency of the notification was back on "urgent". Again changed, and seems to be back to normal now. Let me know your experience about that.
Device Settings Menu Guide, Tips & Discussions
Part 2 - Sounds and vibration, Notifications, Wallpaper and Themes
If you're new to this series or want to see the index, please read the Introductory Post first.
Sound and vibration
Sound Mode: Choose from Sound, Vibrate and Mute. If you choose Mute, you can now choose to "Temporary Mute" for custom time.
Vibrate while ringing: I have enabled it as in environments where the ringtone is not loud enough, vibrations in my pocket help me.
Ringtone: Set Ringtone for each of your SIMs. Tap Add to add music from your storage. Select 'Highlights only' to play only a specified part of the track and not necessarily from the beginning. This way you can make ringtones from the music track itself but anyways here are the best ringtones sites. The existing catalogue in the device has few nature-inspired tones - I've set it to 'Friday'.
Notification sounds: You can set a customized notification for each app in app's settings itself so set this one as a default notification - something short that won't annoy you. My choice is 'Twinkle'.
Volume:
Play with them to find what suits you. In my case, System (touch sounds, back button sounds, etc.) is zero while notifications are on the lowest side. You can still control them by pressing the volume rocker and then expanding the pop-up.
Use Volume keys for media: I never wanted to control ringtone with volume rockers. Must be enabled!
Menu > Media Volume Limit: You can set a lower upper limit for your audio devices. Also, you can increase the OEM limit to force devices with more volume - can be very helpful with low volume calls or media. I know how to control, so set to highest - the volume bar will also show you the danger zone while increasing.
Call/Notification Vibration Pattern: Specifies vibration pattern for your Calls. Choose a call pattern to something by which you can easily differentiate your calls from a standard notification form the initial vibration itself. I've set it to 'Off-beat'. You now have the option to sync with ringtone or notifications (need to try)!
Vibration Intensity: If you get annoyed, like I do, by vibrations for every notification, set it to zero or alternatively set it to a lower level while tweaking individual app notification settings to allow/disallow vibrations. 'Touch interaction' is for on-screen touches. Set "Vibration sound for incoming calls" to get the humming-before-sound effect and also not to annoy yourself or partner with call ringtones when you can pick the call before it sounds!
System sounds and vibration: Touch sounds (sound/vibration), Screen lock sounds (sound), Charging sounds (sound/vibration), Dialling keypad tones (sound/vibration), Samsung Keyboard (sound/vibration), Navigation gestures (vibration), Camera feedback (vibration).
Sound quality and effects, Separate app sound:
Dolby Atmos: Read about it here. I've set it to Auto. You can easily toggle modes from the notification bar itself (move it to the first page). Enable "Dolby Atmos for gaming" and enjoy gaming!
Equaliser: Play with it to decide what's best for you. Here is an Equaliser guide for you so that you can play with the Advanced mode as well.
UHQ upscaler: Connect earphone to enable this. Bit-upscaling works best for me. Read a pro analysis on UHQ upscaling modes here.
[Discontinued] Tube Amp Pro; Concert hall: They are disabled when using Dolby Atmos. I prefer Dolby Atmos over either of them.
Adapt Sound: Do try it! Add trying a new profile for each of your earphones or audio device and personalise sound. You can try existing profiles and toggling Clear or Soft sound preferences.
Separate app sound: Useful in cases where you don't want an app's sound to play on your default audio device. I have set 'App' to Chome/Facebook and Audio device to 'Phone' so that they don't accidentally play on the connected device in case Bluetooth is left on. You can also choose 'YouTube Music' as App and Audio device to 'Bluetooth' so that music always play on the connected device.
Notifications
Notification pop-up style: To be filled.
Do not disturb: You can schedule it though I recommend Tasker or IFTTT for control it. Now that you have set apps to control DND, set "For how long" to "Ask every time" so whenever you need to set DND, you select the time. If you want to turn it off manually or know the average time, choose otherwise. Do explore Exceptions to enable 'Repeat callers', allowing calls/messages from a specific group, allowing event/task/reminders. Customize DND so that your 3rd-party (scheduling) apps when enabling it enables your customized settings. You can add 'Apps' to exception so that you don't miss notifications from, for example, Mail. You can choose 'Hide Notifications' to choose what notifications to show. For example, you don't want Apps to sound but want to see the icon badges when you turn on the screen.
Recently Sent/App Notifications: You can customize each App's notification here itself or can do this simply in that App's settings. I prefer customizing App settings when they arrive in the notification bar by holding the notification and tapping settings. This way, in some time, you'll make your app notifications fully customized for all of those that bother you. With Pie, you have now greater control of each app's notification. You can even customize notification subcategories of a particular app. Do check 'silent and minimized' mode that doesn't create a mess in your notification panel as well as minimizes the content by default with no sound. Do you need a separate guide to master this? Do tell. You can also refer to a good article here.
Advanced:
Show notifications icons: It is set to recent 3 by default. If you get a lot of notifications like me, you will miss seeing notification icons (recency doesn't equal importance).
Show battery percentage: Since I usually get a lot of notifications, I've disabled 'Show recent notifications only'. It's not a bad idea to get the actual percentage of battery level so enable 'Show battery percentage'.
Notification history: Finally! You get the swiped or snoozed notifications here. Saves me after accidentally hitting "Clear All". MUST ENABLE!
Conversations: Now you can control notifications from individual SMS senders!
Switch on 'Suggest actions and replies for notifications' and 'Show snooze button' if helps.
Notification Reminders: If you want to give attention to notifications from selected apps, you can get reminded frequently (with vibrations) until you clear them. Helps me not to miss Missed Calls or Fiverr messages.
App icon badges: Useful though I use a similar feature 'Notification badges' in Nova Launcher.
Wireless Emergency Alerts: MUST ENABLE! Alerts given by government or organizations about life hazards and likewise. I have enabled everything even test messages!
Wallpaper and style
My Wallpapers: You can choose Wallpapers for the Lock Screen and Home Screen here. Now you can set Video Wallpapers for Lock Screen too. I use Tapet to change wallpapers and Tasker to add new wallpapers to it.
Lock screen wallpaper services: I have chosen 'Dynamic Lock Screen' to change Lock Screen Wallpapers from the 5 categories which add new wallpapers every 2 weeks. 'Samsung Global Goals' is a views-oriented donation theme.
Colour palette: This came with Material You. Colour of buttons, app icons (if 'Apply palette to app icons' is enabled) and other icons will match your wallpaper theme!
Apply Dark mode to wallpaper: Darkens your wallpapers to give less strain on the eye and comply with the dark mode actually!
Themes
It will route you to Samsung Themes. I use a separate icon and theme packs for Nova Launcher. I do use AOD packs from the Themes. Do explore this section on XDA itself. I'm going to develop some themes (preferably AOD skins) soon and will let you know. Learn how to develop yours here.
-- Reserved for FAQs --