Android - How to disable notifications per app and time frame?

In Settings open Notifications (under Device heading)➡Do not disturb➡Automatic rules➡+ Add rule➡Type [Rule name], select [Time rule] or [Event rule], select OK➡select options for the new rule: Days, Filter notifications. Start time, End time, Do not disturb type

Hope this helps


This can be done quite easily via Tasker but requires root.

1) Create a profile using the 'Day' and 'Time' triggers

2) Create a task which turns off notifications for XXX app via Secure Settings
(Create task, go to plugin, Secure Settings, root actions, package notifications, select app, toggle)

3) Set the profile to trigger the task.