Android 7.0 supports the following do not disturb (DND) configurations.

Third-party automatic rules

Third-party applications can use the DND Access API to control DND rules:

Controlling alarms

When DND mode is enabled, the Android settings UI presents user options for configuring:

Suppressing visual distractions

The Android settings UI presents user options for suppressing visual distractions such as heads up notifications, fullscreen intents, ambient display, and LED notification lights.

Customizing DND settings

When customizing settings, OEMs must preserve the AOSP behavior of the system APIs and maintain the behavior of DND settings. Specifically, the DND settings page in system settings must include the following:

For details on new DND APIs, refer to android.service.notification reference documentation.