Commit Graph

1851 Commits

Author SHA1 Message Date
H. Lehmann 1709877531
Merge pull request #3470 from ByteHamster/playbackservice-save-current-playable
Moved storing PlaybackPreferences to PlaybackPreferences.java
2019-09-29 17:10:34 +02:00
ByteHamster a3598daaa7 Moved storing PlaybackPreferences to PlaybackPreferences 2019-09-29 16:47:12 +02:00
ByteHamster 1c60a0134d Keep buffer depending on rewind time 2019-09-29 14:05:48 +02:00
H. Lehmann ea84dde76f
Merge pull request #3467 from ByteHamster/keep-back-buffer
Keep 30 seconds of back buffer
2019-09-29 12:56:04 +02:00
H. Lehmann 2dfe08df2a
Merge pull request #3454 from ByteHamster/update-progress
Update episode progress during playback
2019-09-29 12:52:48 +02:00
H. Lehmann c614e6e29c
Merge pull request #3466 from ByteHamster/no-reinit-on-pause
Do not reinit on pause
2019-09-29 12:50:47 +02:00
ByteHamster fc317e3b68 Keep 30 seconds of back buffer 2019-09-29 12:49:06 +02:00
ByteHamster 3beda73e3c Do not reinit on pause 2019-09-29 12:39:13 +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
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 0b5f4e9dc0 Avoid Cast initialization unless it is enabled (to avoid triggering Google Play Service) 2019-09-27 11:19:29 -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 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
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
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 66cb923e9d Update playback position in queue 2019-09-25 17:07:24 +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 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
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 a92123340d
Merge pull request #3441 from ByteHamster/circleci-improvements
Circleci improvements
2019-09-24 14:19:18 +02:00
ByteHamster 58348908ea Fixed checkstyle violations 2019-09-24 11:27:08 +02:00