jbwong05 / android-headphone-dnd-toggle Goto Github PK
View Code? Open in Web Editor NEWAndroid service to disable Do Not Disturb when headphones are plugged in
Android service to disable Do Not Disturb when headphones are plugged in
Manually disabling notification access permission will cause the service to crash on the next trigger
Android system can ignore START_STICKY returned from onStartCommand() and kill the service after the service has been running for an extended period of time. This is either due to the service moving down the priority list over time or the system being under heavy memory pressure. Either way, the Android system fails to restart the service after it is killed despite the START_STICKY state indication.
Service is started before notification access policy is granted. Service will crash if the receiver attempts to toggle dnd before access is granted.
Disabling DND allows the call ringtone and notification sounds to be projected through the speakers even if headphones are plugged in
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.