Commit Graph

68 Commits

Author SHA1 Message Date
arkon
8aa11951bf Do background app/extension checks less frequently
Since the in-app checks occur at least once a day anyway.
2021-08-13 18:24:21 -04:00
arkon
f23f22ab01 Add in-app app update check 2021-08-13 18:18:53 -04:00
arkon
07de367476 Revert "Set background job expedited policies"
This reverts commit c69420373a.

Caused crashes in TachiyomiSY for some reason. Will have to redo this once we target Android 12.
2021-06-09 17:11:23 -04:00
arkon
f2e4b2fc99 Get appropriate download link based on CPU ABI 2021-06-05 18:30:04 -04:00
arkon
c69420373a Set background job expedited policies 2021-06-02 22:58:03 -04:00
arkon
5113c78ab6 Consolidate some of the app update classes
We only use GitHub for all update checks, so the abstraction isn't useful.
2021-06-01 17:54:34 -04:00
arkon
dfd858034f Avoid duplicate actions in update notifications 2021-04-17 12:58:14 -04:00
arkon
023311a874 Start download when tapping update notification (closes #4825) 2021-04-12 13:43:46 -04:00
arkon
2ffbee3db2 Avoid using global scope where appropriate
Also fixes the crash in tracking when an exception is thrown during a refresh.
2021-01-08 18:05:51 -05:00
arkon
8f98055e9e Refactor response parsing helper function 2020-12-27 10:22:24 -05:00
arkon
61a594493c Remove usage of Retrofit for update check and extensions list 2020-12-26 16:59:24 -05:00
arkon
04fff91e23 Update app repo URL 2020-12-15 15:56:16 -05:00
Taco
60755d0c26
Use some more KTX and Compat stuff (#3933)
* Use more KTX extensions

* Update Android Studio

* Use more Compat classes
2020-10-12 16:46:25 -04:00
arkon
7a476abb53 Migrate to kotlinx.serialization for extensions and update fetching 2020-10-11 14:53:02 -04:00
arkon
76f6fe4601 Use Kolinter Gradle plugin for linting instead of ktlint directly 2020-09-13 18:48:20 -04:00
arkon
ca1373f36b Check GitHub for preview release updates instead of inorichi's server 2020-09-13 10:53:51 -04:00
arkon
64bdfabbd8
Revert ktlint update, unrevert Gradle and PR build workflow reverts (#3681) 2020-08-15 16:44:46 -04:00
arkon
4a136ef2aa Automatic linting fixes 2020-08-13 09:02:15 -04:00
arkon
4f02872a84 Minor cleanup 2020-08-03 23:03:31 -04:00
Jay
830a834ea6 Using a float on the progress on app updates
Not sure if needed but I saw some funny behavior with the progress bar
2020-05-12 09:17:33 -04:00
arkon
530daeaa3a Move notification logic out of LibraryUpdateService 2020-05-10 18:14:43 -04:00
arkon
b4c7992726 Minor cleanup of wakelocks, extension ID backup 2020-05-07 09:14:52 -04:00
arkon
788ea052fc Convert app updater to foreground service 2020-05-06 22:34:30 -04:00
arkon
3f63b320c4 Linting fixes 2020-04-25 14:24:45 -04:00
arkon
8c1ec43500 Remove option to turn off app update checks, check every 3 days 2020-04-24 10:39:55 -04:00
arkon
6da350aee6 Minor extension update cleanup, default to on 2020-03-20 22:59:59 -04:00
arkon
ef0b546d4c Replace more icons 2020-03-15 16:46:38 -04:00
arkon
8b6268966e Pass context to get WorkManager instance 2020-03-07 13:06:06 -05:00
arkon
a3dd5c1e92 Tweak WorkManager task cancellation, add flex times 2020-03-02 19:04:57 -05:00
arkon
d873d653d0 Migrate to WorkManager 2020-03-01 13:22:16 -05:00
arkon
043e3784e8 Run linter 2020-02-26 18:03:34 -05:00
arkon
3ecc883944 Run default Android Studio formatter on code 2020-02-17 17:23:37 -05:00
arkon
34bf9b729e More coroutine network call fixes 2020-02-14 09:23:54 -05:00
arkon
c1235897df Remove unused RxJavaCallAdapterFactory for app updater 2020-02-10 22:28:48 -05:00
arkon
6a95ff56df Use coroutines for updater 2020-02-09 22:36:44 -05:00
arkon
8aa48effaa Refactor notification builder extension 2020-02-09 17:28:09 -05:00
arkon
a3e39987d4 Migrate extension list fetch to coroutine 2020-02-02 22:57:15 -05:00
arkon
47f5ea881f Reorganize other util files 2020-02-02 22:22:54 -05:00
arkon
9f9de27a57 Reorganize some util files 2020-02-02 22:04:11 -05:00
arkon
ce4d75f62a Replace raster icons 2020-01-18 20:58:07 -05:00
arkon
012b1b56aa Minor grammar fixes 2020-01-11 10:11:39 -05:00
arkon
78689e7443
Migrate to AndroidX (#2424)
* Migrate to AndroidX (automatic conversion by Android Studio)

* AndroidX dependency code updates

* Fix source preference reparenting

* fixes the androidx prefererences icon spacing issue

(cherry picked from commit b76a15d960ec2cdf771be16377db0348b66b3179)

* Fix source preference screen heading size/list padding

Co-authored-by: Carlos <cargo8005@gmail.com>
2020-01-05 11:29:27 -05:00
Eugene
d5f5ba95bb Add automatic updates for dev builds (#2128) 2019-07-13 19:36:30 +02:00
inorichi
7464497c88 Use our OkHttpClient in updates checker. It should fix the updater on KitKat due to TLS 2018-04-06 10:02:01 +02:00
Bram van de Kerkhof
8994b42760
Remove local broadcast receiver to prevent race conditions (#1123)
* Remove local broadcast receiver to prevent run exceptions.
Added option to set tile for extension update.
2017-12-11 20:01:28 +01:00
inorichi
f3689f09cd Use gradle's new dependencies API. Update a few dependencies 2017-10-28 16:10:51 +02:00
len
f45efe2aa8 Library updater is now a foreground service 2017-10-14 13:05:02 +02:00
inorichi
d97aff85b3 Support notification channels. Fixes #995 2017-10-10 14:16:37 +02:00
len
211f7b591b Dependency updates. OkHttp nullability changes 2017-05-23 20:39:02 +02:00
len
41397ab41d Don't post too many notifications in the updater 2017-03-10 20:21:09 +01:00