Commit Graph

34 Commits

Author SHA1 Message Date
Ido Ben-Hur 3b769805cd
OpenDelta: Rewrite scheduler related code
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
2023-02-06 17:18:10 +02:00
Ido Ben-Hur 075dcb3cc5
OpenDelta: De-Delta
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
2022-10-19 18:11:41 +03:00
Ido Ben-Hur 926711413e
AndroidManifest: Add missing perm for notifications on A13 2022-10-02 13:47:43 +03:00
Ido Ben-Hur 1b4e4b80de
OpenDelta: Stop abusing intents & refactor
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
2022-08-16 07:15:27 +03:00
Ido Ben-Hur ffa3654fcb
OpenDelta: Redesign to fit A12's style better 2022-08-12 01:36:18 +03:00
Ido Ben-Hur feda8bbda7
OpenDelta: Clean some mess, Target latest SDK
* 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.
2022-08-01 14:05:28 +03:00
Ahmed Harhash 4871877b6e
OpenDelta: Update app icon
* Update the YAAP logo
2021-11-22 18:53:21 +02:00
Ido Ben-Hur 1ba5c4427e
OpenDelta: Comply with android 11's scoped storage
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.
2021-07-27 13:12:19 +03:00
Ido Ben-Hur 4cb95a5d9a
OpenDelta: Refresh progress bar on orientation change 2021-06-15 14:09:20 +03:00
Ido Ben-Hur d9252c49b5
OpenDelta: Add YAAP logo 2020-10-28 16:12:15 +02:00
Marko Man 31b5122b96
OpenDelta: add target sdk
Change-Id: I0bd25f77d65beadf26de870050c3a758c97280dc
2020-10-28 15:54:03 +02:00
Ido Ben-Hur 55f33c57a4
Merge remote-tracking branch 'omni/android-10' into HEAD 2020-06-02 18:59:08 +03:00
maxwen a4f727c528 OpenDelta: shiny new UI
and cleanup some old cruft to remove min SDK

Change-Id: Iedac58656680742a6e26e0be9bada2e9aaeaff43
2020-05-21 09:22:19 +02:00
Ido Ben-Hur 0675dd34ac
Merge remote-tracking branch 'omni/android-10' into ten 2020-05-11 17:09:41 +03:00
Max Weninger 2552d248b7 Revert "OpenDelta: we dont need sticky broadcasts"
This reverts commit bda703a4b7.

Reason for revert: Maybe we still need them :)

Change-Id: I9dd9e60837af4a7314c08e0504e711f82c49bfa5
2020-04-14 23:20:21 +02:00
Ido Ben-Hur 60fecc971d OpenDelta: Derpify logo 2020-01-08 15:24:54 +02:00
maxwen bda703a4b7 OpenDelta: we dont need sticky broadcasts
Change-Id: I9a3a80748d96771a9d608560283c8c4226cd8dc3
2019-12-31 02:15:34 +01:00
maxwen 6da0febbda OpenDelta: add back uses-sdk in manifest
who removed that? ;)

Change-Id: Ibbd6bf492e26310a8bbbfc1a9d0e76082ec287bf
2019-12-30 00:17:38 +01:00
maxwen 91feb16a8c OpenDelta: add flash local file support for ab devices
since this can break devices if people dont know how
to use it add setting to enable

Change-Id: I5b8d984da7952652aaadde2ec18397cce5846882
2019-12-07 00:20:43 +01:00
Marko Man 6a58ec919b OpenDelta: switch to androidX
Change-Id: I9f1182f67acb962f802007089352fcada143de2b
2019-10-08 11:07:43 +02:00
maxwen 6633335e9d OpenDelta: add missing perms for checking user
Change-Id: I9ccc9603d7564e791afbb3233549ceea53b20075
2019-03-21 01:07:38 +01:00
maxwen 98cf82baef OpenDelta: block scheduler updates while other things are running
Change-Id: I0f86b4f5f6ebd81beb18b401f8028e341c4edc21
2018-10-03 21:41:31 +02:00
maxwen 6d780d2de8 OpenDelta: manifest enable allowBackup
Change-Id: I3d0a87f2014293a01166dd88da16366ad04e8969
2018-09-07 15:48:15 +02:00
Christian Oder bd1cd0476f OpenDelta: Configure Delta to work with AB
Change-Id: Ibd7dfdc6a6e8b90b4b0e52887bb8b5ec64b4541f
2018-07-30 10:54:37 +02:00
maxwen d337cbb733 OpenDelta: switch to omnirom as app logo
Change-Id: Ic0af32a77a735c7e5cd0fc858b108a11f4371a70
2018-01-04 13:34:08 +01:00
Marko Man 2924c87263 OpenDelta: refresh the layout a bit
bling bling

PS11:
cleanup layout

Change-Id: I424fcb0c71fb724aa0acd6a95e87dd58388f5eeb
2017-03-21 23:50:07 +01:00
maxwen 2d49949c84 OpenDelta: fix build for 6.0
Change-Id: I0d4d428c51fa6a4bcc96e793f088d3ae48daedc1
2015-10-22 17:53:34 +02:00
maxwen a0066b0802 OpenDelta: feature upgrade
-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
2015-07-30 22:47:38 +02:00
maxwen 2c8248f9bd OpenDelta: fix for 5.1
added missing recovery permission
added setting max_winsize in decoder config

Change-Id: I298d1647f0b34b30d2f3b16e5c8a9dae78b65a1e
2015-06-25 22:58:04 +02:00
XpLoDWilD be0976a223 Bump OpenDelta style to Material
Change-Id: I37ca0156714775f87bc8b72215c04712c7f39991
2014-11-13 19:39:54 +00:00
ByteHamster 1880bb6dea OpenDelta: Add launcher shortcut
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
2014-03-04 10:12:56 +01:00
Jorrit Jongma 10d1eb888a Override Application and enable debug logging from there
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
2014-01-06 18:05:41 +01:00
Jorrit Jongma fa58258dc1 Spelling correction 2013-12-07 11:07:58 +01:00
Jorrit Jongma 0c2276cc5f Initial commit 2013-12-05 20:48:30 +01:00