Releases: joshuawolfsohn/Private-DNS-Quick-Tile
Release v1.5
Prebuilt .apk available on F-Droid: https://f-droid.org/en/packages/com.jpwolfso.privdnsqt/
Changelog:
- Previous "dialog" layout for config activity wasn't rendering nicely on some devices, so it is now has a regular fullscreen layout
- Added a help dialog in the overflow menu, this includes a little video animation that shows the adb commands needed to grant permissions
- Shortcut to config screen is now visible in launcher
- Added French translations
- Added DayNight theme support for devices on Android 10 or higher
- Updated Gradle libraries and other changes
Release v1.4
Added an overflow menu with options to view the app info page in the System Settings or to view the app listing on F-Droid.
Release v1.3
This update changes the long-press tile functionality to open a new configuration activity, where you can enable/disable the different tile states. For example, you can choose to enable the DNS Off state and the DNS On state but disable the DNS Auto state.
Bug squashin' and size shrinkin' in version 1.2
Previously, the tile would crash and cause issues for users that don't have a DNS provider hostname set. Now, the tile will simply only have the off and auto states if the DNS provider hostname is not set. Also, I removed some unnecessary test libraries that were included by Android Studio, and now the .apk has gone down from ~1mb to ~30kb in size!
Minor Release v1.1.1
Changes include some code refactoring, a new app icon, modified labels and icons for the quick tile, and long-pressing the quick tile now just takes you to the app info page, which makes the app experience more consistent across different devices running Android 9.0+ (the previously shown toast message and functionality of the long-press was inconsistent, so it was removed).
Initial Release
I couldn't find a solution to add a Private DNS quick tile that I liked, so I created this simple app to do so.
Much like the Private DNS settings, this tile has 3 states - off, auto, or on (set to specified DNS provider). To be able to use this tile, you're going to have to grant the app a single permission using ADB. Feel free to copy and paste the following command into an adb shell:
pm grant com.jpwolfso.privdnsqt android.permission.WRITE_SECURE_SETTINGS
Also, long-pressing the quick tile opens the basic Connections settings page in your system Settings app, and tells you how to head over to the Private DNS settings with a neat little toast message!
Feel free to use this app however you'd like, whether it be as a utility or as a reference/source for an app of your own.