The Galaxy S6 Quick settings panel contains a "Do not disturb" icon to toggle DnD (related to Interruptions) on and off.
This is also in Android Settings > Sound and notifications > Do not disturb
How can an Android application:
1) Detect the current device DnD state, such as invoking a Java...