Commit Graph

5398 Commits

Author SHA1 Message Date
H. Lehmann cf367c02af
Merge pull request #3465 from skitt/smart-spread-fix
Fix the smart shuffle spread calculation
2019-09-29 12:50:21 +02:00
ByteHamster 8d9c292ca1 Merge branch 'develop' into smart-spread-fix 2019-09-29 12:31:55 +02:00
H. Lehmann 373f31c53e
Merge pull request #3416 from orionlee/bugfix_autodownload_wifi_filter_on_android10_3387
Make Automatic Download WiFi filter UI work on Android 10+
2019-09-29 11:16:10 +02:00
H. Lehmann e3ef12e413
Merge pull request #3440 from orionlee/avoid_cast_init_unless_enabled
Avoid Cast initialization unless it is enabled
2019-09-29 11:13:33 +02:00
H. Lehmann fb377258f2
Merge pull request #3461 from ByteHamster/do-not-notify-cancelled-downloads
Do not notify cancelled downloads
2019-09-29 11:10:59 +02:00
H. Lehmann 43f8435aaf
Merge pull request #3464 from ByteHamster/checkstyle-more-rules
Enabled more checkstyle rules
2019-09-29 11:08:02 +02:00
orionlee 78aecac3ca Avoid Cast Initialization UI - prompt restart only when enabled. Make prompt more sticky by being not cancelable. 2019-09-28 13:28:12 -07:00
orionlee 9373b61787 Avoid Cast Initialization - bugfix of accidental removal of cast-enabled codes 2019-09-28 13:26:30 -07:00
orionlee d6e2803beb Wifi Filter UI - code style tweaks, mainly inlining. 2019-09-28 13:05:55 -07:00
Stephen Kitt 7ae3934794
Fix the smart shuffle spread calculation
We want to ensure that the total spread is divisible by all feed
sizes, so the modulo calculation needs to divide spread by the feed
size, not the other way round as is done currently.

In addition, this ensures the per-feed spread is never 0 (so the
degenerate case is equivalent to the old smart shuffle).

Signed-off-by: Stephen Kitt <steve@sk2.org>
2019-09-28 18:11:08 +02:00
ByteHamster 28a816b16c Enabled more checkstyle rules 2019-09-28 17:23:36 +02:00
ByteHamster 66cf4a8a43 Sending event if download was cancelled 2019-09-28 14:20:57 +02:00
ByteHamster 3041336b92 Do not notify cancelled downloads 2019-09-28 13:04:40 +02:00
orionlee 2fe70c3b41 Avoid Cast initialization UI - prompt users to restart upon settings changed. 2019-09-27 11:56:07 -07:00
orionlee 0b5f4e9dc0 Avoid Cast initialization unless it is enabled (to avoid triggering Google Play Service) 2019-09-27 11:19:29 -07:00
orionlee 342fe60279 Auto Wifi filter permission UI - flattened the logic back to the fragment per review. 2019-09-27 10:46:23 -07:00
orionlee 292aaa610e #3387 permission prompt - add comments for case Wi-Fi filter not enabled. 2019-09-27 10:29:27 -07:00
orionlee db2141a7b4 #3387 permission prompt - add warning icon to make it stand out. 2019-09-27 10:29:27 -07:00
orionlee d559a8b906 #3387 use ACCESS_FINE_LOCATION per Google feedback
https://issuetracker.google.com/issues/140696830
2019-09-27 10:29:27 -07:00
orionlee c8dda3c0c0 #3387 ask for location permission for Wi-Fi filter UI on Android 10+. 2019-09-27 10:29:26 -07:00
orionlee d80daee37e #3387 new permission for WiFi filter UI be compatible with Android 10+ 2019-09-27 10:29:26 -07:00
ByteHamster 3e01d66cbd Merge branch 'master' into develop 2019-09-27 12:55:24 +02:00
ByteHamster d7f0f95ada Bumped version to 1.7.3b 2019-09-27 12:48:56 +02:00
H. Lehmann a6bffa797a
Merge pull request #3458 from ByteHamster/store-foreground-state-correctly
Fixed another phantom service is running notification
2019-09-27 12:43:03 +02:00
ByteHamster 0c0e50d3ae Fixed another phantom service is running notification
Steps to reproduce:
- Send STOP key two times
- Service starts foreground but does not stop again because stateManager does not know about foreground state
2019-09-27 12:03:39 +02:00
H. Lehmann bbf4f8cc3f
Merge pull request #3453 from ByteHamster/refresh-subscriptions-view
Added refresh item to subscriptions view
2019-09-26 23:45:22 +02:00
ByteHamster 8b53268bfe Refactored method for readability 2019-09-26 19:06:26 +02:00
H. Lehmann b0a77bf000
Merge pull request #3455 from ByteHamster/rxjava-buffering
Using RxJava to update buffering
2019-09-26 19:01:28 +02:00
H. Lehmann 25bd5bbeed
Merge pull request #3450 from ByteHamster/undeliverable-exception
Fixed crashes when leaving search fragments
2019-09-26 18:58:04 +02:00
H. Lehmann b1242ec1c0
Merge pull request #3448 from ByteHamster/fix-exoplayer-redirects
Fixed HTTP redirects in ExoPlayer
2019-09-26 18:57:25 +02:00
ByteHamster 56d08c4291 Using RxJava to update buffering 2019-09-26 18:53:04 +02:00
H. Lehmann 1e883758e4
Merge pull request #3451 from ByteHamster/fix-no-browser-installed
Fixed crash if there is no browser installed
2019-09-26 18:52:01 +02:00
H. Lehmann 1cb30ef271
Merge pull request #3452 from ByteHamster/transparent-outline
Removed transparent notification button outline
2019-09-26 17:12:02 +02:00
ByteHamster 889144f993 Added refresh item to subscriptions view 2019-09-25 15:49:24 +02:00
ByteHamster 72d5c65c4f Removed transparent notification button outline 2019-09-25 15:24:23 +02:00
ByteHamster b65c688b53 Fixed crash if there is no browser installed 2019-09-25 15:00:33 +02:00
ByteHamster 2b8b262499 Fixed crashes when leaving search fragments 2019-09-25 14:45:47 +02:00
ByteHamster 96a42b1bbe Fixed HTTP redirects in ExoPlayer 2019-09-25 14:40:18 +02:00
H. Lehmann 39a9a48c99
Merge pull request #3357 from orionlee/autoupdate_thread_refactor_post_workmanager
Refactor automatic feed update - remove extra threads
2019-09-24 20:49:02 +02:00
orionlee aeafb62a3c re-add missing awaitility dependency in AndroidTest 2019-09-24 11:35:01 -07:00
orionlee 26b7f6c300 auto feed update mini-refactor: move periodic update entry point method from UserPreference to AutoUpdateManager 2019-09-24 11:14:35 -07:00
orionlee 33eddaa256 auto feed update - make the calls from UI use background thread rather than WorkManager to ensure the updates are immediate. 2019-09-24 11:07:43 -07:00
orionlee 8dc9939736 change refreshAllFeeds() main thread call guard to exception. 2019-09-24 10:15:25 -07:00
orionlee 0ddda3a0d2 remove unnecessary thread DBTasks.refreshAllFeeds(): it is invoked by FeedUpdateWorker in background only. 2019-09-24 10:15:24 -07:00
orionlee 608b874057 Make feed update work IDs not dependent on classname to avoid accidental changing of IDs due to class refactoring. 2019-09-24 10:12:14 -07:00
orionlee ce96eeafb6 simplify param logic (getInputData() is @NonNull) 2019-09-24 10:12:14 -07:00
orionlee 366146d22e prevent deadlock in case auto feed update is blocked per review. 2019-09-24 10:12:14 -07:00
orionlee 907867652f Refactor automatic feed update - remove extra threads no longer necessary. 2019-09-24 10:12:13 -07:00
H. Lehmann f24c8a3237
Merge pull request #3443 from ByteHamster/speed-up-circleci
Speed up circleci by allowing different flavours to build in parallel
2019-09-24 18:24:05 +02:00
ByteHamster 667be71e0f Speed up circleci by allowing different flavours to build in parallel 2019-09-24 18:07:43 +02:00