Commit Graph

5880 Commits

Author SHA1 Message Date
ByteHamster
c148f76ef7 Signal unread items update after downloading 2019-12-17 15:23:52 +01:00
H. Lehmann
72520d7ac4
Merge pull request #3687 from ByteHamster/cancel-notification-updater
Cancel notification after cancelling notification updater
2019-12-15 10:26:48 +01:00
H. Lehmann
c20a2ec349
Merge pull request #3685 from ByteHamster/reset-position-currently-playing
Stop playback when resetting position of currently playing item
2019-12-15 10:24:01 +01:00
ByteHamster
3461bc376b Cancel notification after cancelling notification updater
Otherwise, the notification can stay while the service is actually stopped
2019-12-15 10:03:18 +01:00
ByteHamster
0fe9335d75 Stop playback when resetting position of currently playing item 2019-12-14 00:03:43 +01:00
H. Lehmann
32f7e73130
Merge pull request #3681 from ByteHamster/add-logging-feeditem
Parameter checking
2019-12-13 12:39:41 +01:00
H. Lehmann
ed9798359e
Merge pull request #3683 from ByteHamster/extract-string
Extracted string resource
2019-12-13 12:35:33 +01:00
ByteHamster
e9f11c6c57 Extracted string resource 2019-12-13 10:00:37 +01:00
ByteHamster
d41d58063e Ignore PlaybackTest on CI 2019-12-12 09:47:16 +01:00
ByteHamster
376600d5b4 Read current media from preferences instead of activity->fragment->controller 2019-12-12 09:47:16 +01:00
ByteHamster
51442cb047 Making sure to not click the wrong list
We might have multiple lists with the same ID in the hierarchy
2019-12-12 09:47:16 +01:00
ByteHamster
44aa0a3239 Try to kill playback service but do not fail if it does not stop
Android has no reliable way to stop a service instantly.
Calling stopSelf marks allows the system to destroy the service but the actual call
to onDestroy takes until the next GC of the system, which we can not influence.
Try to wait for the service at least a bit.
2019-12-12 09:47:16 +01:00
ByteHamster
e2aa83f047 Remove queue item without checking taskmanager first 2019-12-12 09:47:16 +01:00
ByteHamster
44f5cad4e6 Do not try to click play in off-screen list 2019-12-12 09:47:16 +01:00
ByteHamster
ca16dddef1 Don't load queue multiple times 2019-12-12 09:47:16 +01:00
ByteHamster
09dc16c651 Fixed asset not being found 2019-12-12 09:47:16 +01:00
ByteHamster
a20ef049e1 Fixed test if wifi is disabled 2019-12-12 09:47:15 +01:00
ByteHamster
a9987aeaa6 Replaced inheritance with parameterized test 2019-12-12 09:47:15 +01:00
ByteHamster
e77ecda206 Fixed cases where one failing test broke all following tests
Select a random port for the http server, so we do not get EADDRINUSE
2019-12-12 09:47:15 +01:00
ByteHamster
0d5e3307b0 Making sure that activity is finished when deleting feed data 2019-12-12 09:47:15 +01:00
ByteHamster
75754ba0f8 Give the test some more time
Also, use 30sec to prevent passing because of playback finished instead of skipping
2019-12-12 09:47:15 +01:00
ByteHamster
e51a107083 Fixed tests on small screens
In general, made some tests more stable
2019-12-12 09:47:15 +01:00
ByteHamster
f7ae08325b Added Android emulator test 2019-12-12 09:47:15 +01:00
H. Lehmann
c21bc58525
Merge pull request #3680 from ByteHamster/create-channels
Make sure to create notification channels
2019-12-12 09:46:38 +01:00
ByteHamster
551971a2f7 Parameter checking 2019-12-12 09:45:36 +01:00
ByteHamster
29f468b332 Make sure to create notification channels 2019-12-12 09:41:35 +01:00
ByteHamster
a4243320f6 Bumped to version to 1.8.0-RC3 2019-12-11 10:19:08 +01:00
H. Lehmann
3758caeefe
Merge pull request #3677 from ByteHamster/mark-seen-after-download
Mark as seen after download completed
2019-12-11 08:25:57 +01:00
H. Lehmann
395dd891c4
Merge pull request #3678 from ByteHamster/fix-downloadservice-deadlock
Fix DownloadService deadlock
2019-12-11 08:20:25 +01:00
ByteHamster
4530413d97 Fix DownloadService deadlock
downloadExecutor.take() clears the interrupted state of the thread when throwing an
InterruptedException. When getting this exception, we need to return instead of relying
on the loop to get cancelled.
2019-12-10 23:01:19 +01:00
ByteHamster
2c9f758f39 Mark as seen after download completed 2019-12-10 22:25:21 +01:00
H. Lehmann
a99a41e3bb
Merge pull request #3666 from ByteHamster/fix-cancellation-exception
Ignore cancellationException
2019-12-02 13:13:33 +01:00
ByteHamster
c752d90f4f Wait for downloadCompletionThread to finish before stopping executors used by the thread 2019-12-02 13:07:51 +01:00
H. Lehmann
9818692db5
Merge pull request #3665 from ByteHamster/checkstyle-limit-nesting
Avoid too much nesting
2019-12-02 13:05:37 +01:00
ByteHamster
cb3b1f2b1f Ignore cancellationException 2019-12-02 13:04:52 +01:00
ByteHamster
5789704c8f Removed intendation monster 2019-12-02 10:37:19 +01:00
ByteHamster
26e91c0b81 Avoid too much nesting 2019-12-02 10:30:49 +01:00
H. Lehmann
cbcd97f6c9
Merge pull request #3663 from ByteHamster/continuous-playback-show-new-info
Show new info if playback stopped because continuous playback is off
2019-12-01 23:02:23 +01:00
H. Lehmann
55453c543f
Merge pull request #3653 from ByteHamster/test-playback-speed
Added test for changing playback speed
2019-12-01 23:02:07 +01:00
H. Lehmann
ed6e4d6206
Merge pull request #3664 from spacecowboy/speedwhilepaused
Added playback params to wrapper so speed can be changed while paused
2019-12-01 23:01:42 +01:00
ByteHamster
19c7108dfb Added test for changing playback speed 2019-12-01 22:55:35 +01:00
Jonas Kalderstam
407e70ad2b Added playback params to wrapper so speed can be changed while paused
You can't modify playback params on the ExoPlayer while paused (see
https://github.com/google/ExoPlayer/issues/4064) so added a member
object which *can* be modified while playback is paused. These
parameters are always applied on start of playback.

Fixes #3651
2019-12-01 21:54:00 +01:00
ByteHamster
4b0f6fb22a Show new info if playback stopped because continuous playback is off 2019-12-01 19:34:39 +01:00
H. Lehmann
90f578aa48
Merge pull request #3656 from ByteHamster/fix-tests3
More test fixes
2019-11-28 22:59:54 +01:00
ByteHamster
e593e37dd5 Simplified playback test 2019-11-28 22:55:11 +01:00
ByteHamster
48deef165c Fixed episode cleanup test on small screens 2019-11-28 22:49:04 +01:00
ByteHamster
8d3dde8cd5 Fixed drawer tests when having a small screen 2019-11-28 22:45:35 +01:00
H. Lehmann
2173f6212e
Merge pull request #3655 from ByteHamster/fix-tests2
Fixed db cleanup tests
2019-11-28 22:25:01 +01:00
ByteHamster
816a885f6b Fixed db cleanup tests
Cleanup is currently just enabled if autodownload is enabled
2019-11-28 12:14:12 +01:00
ByteHamster
21ff83158d Bumped version to 1.8.0-RC2 2019-11-26 21:06:35 +01:00