AutoDND
3.3 · GitHub
More about this app
A simple tool to toggle DND automatically when using specified apps
AutoDND
Just a simple tool to turn on/off DND(Do Not Disturb) automatically when using specified apps.
Ever feel disturbed by notifications and maybe phone calls during gameplays?
This app could be your savior! It uses Android accessibility service to be aware of the current app that you're using, and turn on DND automatically, now you don't have to toggle DND by yourself every time you want to be undisturbed!
Usage: Grant necessary permission (Just tap on the floating button), and add your apps from "ALL APPS" tab.
To-dos:
- Better mechanism to make sure DND turns on/off only on expected conditions
How Shizuku is used
Can verify the foreground app via `dumpsys activity` through Shizuku to keep automatic Do Not Disturb switching accurate.
This is an AI-assisted analysis of Shizuku-related usages in the app's public source code. It is best effort, so it may not catch every single usage.
How this app uses Shizuku
Shizuku is used only to double check which app is in the foreground so automatic Do Not Disturb stays accurate.
- Confirm active app: when a switch looks like the home screen, the app runs a
dumpsys activityquery through Shizuku to get the real focused app and uses that answer to decide whether to turn Do Not Disturb on or off.
Android APIs or commands used
dumpsys activity activities
Notable details
Shizuku is optional and only improves detection accuracy. Automatic Do Not Disturb switching still works without it, with Shizuku acting as a correction to avoid false triggers around the home screen.
Changelog
What's new for version 3.3
Filter command output to fix DND getting disabled without app focus change.
Permissions
4 permissions requested
Sources
2 sources
Sources
2 sources

