Commit Graph

5576 Commits

Author SHA1 Message Date
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 466e6a9b7e Merge branch 'develop' into feedinfo-fragment 2019-09-27 14:03:55 +02:00
ByteHamster 6e5c4dd9d2 Clear title on resume 2019-09-27 14:03:34 +02:00
ByteHamster 5b909894f4 Keep background fragments alive 2019-09-27 14:03:27 +02:00
ByteHamster 872b7a813d Moved reloading fragment to onCreate 2019-09-27 14:03:18 +02:00
ByteHamster 107b64315e Merge branch 'develop' into update-progress 2019-09-27 12:58:56 +02: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
ByteHamster b94595fe44 Using RxJava to update position on main thread 2019-09-26 18:47:24 +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 7bdc0b3ddd Update playback position in feed details list 2019-09-25 17:37:17 +02:00
ByteHamster 8c1e6206da Update playback position in all episodes list 2019-09-25 17:13:17 +02:00
ByteHamster 66cb923e9d Update playback position in queue 2019-09-25 17:07:24 +02:00
ByteHamster f12d3a8c53 Listening to position updates in MediaPlayerActivity 2019-09-25 16:48:26 +02:00
ByteHamster 646b3eba8a Listening to position updates in ExternalPlayerFragment 2019-09-25 16:44:31 +02:00
ByteHamster 72fc4f5eb0 Using PlaybackService to distribute position events instead of PlaybackController 2019-09-25 16:44:08 +02:00
ByteHamster 97c2b47a4a Removed ProgressEvent
Database upgrade is done on splash screen
2019-09-25 16:20:24 +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