We want a Home Screen widget to quickly enable/disable the proxy with the last used setting.
What?
Created a small widget, with no UI customisation for now. This widget will toggle the proxy using the same DeviceSettingsManager as the app and update its UI accordingly.
The DeviceSettingsManager now has a Notifier to inform services outside the app (eg: widget, quick settings tile, etc).
Bonus
Moved core and shared components to its own lib module
Why?
We want a Home Screen widget to quickly enable/disable the proxy with the last used setting.
What?
Created a small widget, with no UI customisation for now. This widget will toggle the proxy using the same DeviceSettingsManager as the app and update its UI accordingly. The DeviceSettingsManager now has a Notifier to inform services outside the app (eg: widget, quick settings tile, etc).
Bonus
Moved core and shared components to its own lib module