julian-klode / dns66

DNS-based Host Blocker (and lightweight ad blocker) for Android
https://jak-linux.org/projects/dns66/
GNU General Public License v3.0
2.1k stars 198 forks source link

Activity class to start and stop service #489

Open mikk150 opened 1 year ago

mikk150 commented 1 year ago

Android Auto does not work when VPN is connected, thankfully we could call intents when phone connects to cars Bluetooth

Using that knowledge one could setup to call Activity class when phone connects to car to stop VPN service, but such an intent does not exist

To make such automation work, there should be Activity class to start the VPN service and Activity class to stop the VPN service