theappbusiness / android-proxy-toggle

Small application to help android developers to quickly enable and disable proxy settings
MIT License
425 stars 59 forks source link

Add a basic widget skeleton #6

Closed fmontesino closed 4 years ago

fmontesino commented 4 years ago

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