Commit Graph

5655 Commits

Author SHA1 Message Date
ByteHamster 045e4bc419 Updated statistics layout 2019-09-29 23:52:42 +02:00
ByteHamster 71949ab1b7 Converted statistics to fragment
Also set title of all preferences pages
2019-09-29 23:52:38 +02:00
ByteHamster 31c746684b Added ViewModel to FeedInfoFragment for even smoother animation 2019-09-29 22:27:46 +02:00
ByteHamster 0187786047 Using FeedSettingsFragment without Activity 2019-09-29 22:19:17 +02:00
ByteHamster 0ffa0e77d9 Reduced logcat output 2019-09-29 22:07:39 +02:00
orionlee 71de4607a3 bugfix: Ensure when media download completes and item update event is posted, the feed media has been updated, 2019-09-29 12:55:02 -07:00
orionlee 9469ebc6c3 bugfix: Ensure playback service use the updated feedItem after media download completes (rather than trying to stream) 2019-09-29 12:46:21 -07:00
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
H. Lehmann 338c68ff44
Merge pull request #3469 from ByteHamster/buffer-rewind
Keep buffer depending on rewind time
2019-09-29 14:57:13 +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
ByteHamster 510f00e204 Making sure that we don't miss updates 2019-09-29 12:55:27 +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
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 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
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 1ab39fee3c android Test to ensure smart as played won't affect an item when it is paused. 2019-09-28 16:17:15 -07:00
orionlee cf5f0fbc28 #3383 Fix skip last episode in queue - the fix 2019-09-28 15:50:12 -07:00
orionlee 11270d91a6 #3383 Fix skip last episode in queue: android test to reproduce it. 2019-09-28 15:50:11 -07: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 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