Changes include but are not limited to:
* MASSIVE code style, logic and maintainability improvements
* Make Scheduler a separate service so it does not depend on UpdateService to start / listen
* Remove useless listeners from UpdateService
* Default to smart mode with notify only for scheduler
* Have more chill alarm timers and do not set em too early (before we can actually check)
* Sign the app with platform keys and share UID with system so we have notification perms by default
* Give scheduler his own notification channel with higher priority
* Give a proper description to all notification channels
no one is gonna use this risky s**t anyways
Also:
Improve so much code all around, prep for rewriting a lot.
Get rid of the official tag check
And another old AF config no one needs
For service - activity communications, bind the service instead.
Also:
* Force portrait, get rid of old land layout
* Do not use network on autoState
* Properly handle download notification actions - w/o dismissing
* Stop using shared prefs to trigger service events
* Improve and simplify a lot of code
* Get rid of some edge case crashes
* Many other fixes I can't recall
* Adapt for latest SDK
* Get rid of many deprecations
* Use apply() instead of commit() where possible for shared prefs
* Many others like unused vars, bad formatting, bad practices and so on
Really too lazy to list all, just take a look.
We don't actually need to use scoped storage, just ask correctly for a full storage perm
Finally target latest SDK, this is probably not backwards compatible so also change the minimum
Also improve AndroidManifest, get rid of dangerous permissions such as
http communication and useless ones.
-Revamped UI
-automatic checks for latest nightly
-checks if delta update is valid else supports downloading full nightly as fallback
-check only mode
-more flexible scheduler (disable, check only, auto download)
Change-Id: Ia22fd992940ab3c96f52cb5302c7cfc4d4c15f65
The requested shortcut in Settings is not possible
so let's do it this way.
http://jira.omnirom.org/browse/CONCEPT-15
Change-Id: I07cbe8e194795b074c24dbf1d85d829c5b967420
Some debug messages weren't being logged as the debug logging enabling
code ran after the code outputting debug information. Moving the code
to enable logging to Application::onCreate prevents this from happening