chenxiaolong / Custota

Android A/B OTA updater app for custom OTA servers
GNU General Public License v3.0
62 stars 12 forks source link

UpdaterJob: Add support for falling back to active network #69

Closed chenxiaolong closed 2 months ago

chenxiaolong commented 2 months ago

It appears on that for some folks running the Android 15 beta, Android's job scheduler implementation is broken and returns a null Network instance. This commit adds support for falling back to the currently active network if the Require Unmetered Network option is turned off. Otherwise, the only thing we can do is show a notification to tell the user to turn that option off.

Closes: #68