Commit Graph

6235 Commits

Author SHA1 Message Date
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
ByteHamster b1bc4be32a Added forgotten @ characters to changelog 2019-11-26 21:04:41 +01:00
H. Lehmann f6495232c5
Merge pull request #3647 from ByteHamster/fix-downloadservice-notification
Do not start download service if there is nothing to download
2019-11-26 21:02:57 +01:00
ByteHamster bbb7cfe7ed Do not start download service if there is nothing to download 2019-11-26 20:54:26 +01:00
H. Lehmann fd1e510106
Merge pull request #3644 from ByteHamster/crash-fix
Various tiny crash fixes and improvements reported on Google Play
2019-11-26 16:18:06 +01:00
ByteHamster 9d6225b022 Fixed NPE in DownloadRequester 2019-11-26 16:07:53 +01:00
ByteHamster 1dd5c19eea Fixed NPE in EmptyViewHandler 2019-11-26 00:58:11 +01:00
ByteHamster f2771f953f Decrease connection timeout
If the server does not reply within 10 seconds, the download will also most likely fail.
2019-11-24 20:24:26 +01:00
ByteHamster 5c8f2b6e37 Added names to threads 2019-11-24 20:13:05 +01:00
ByteHamster 5f5cf628ca Making sure that DownloadService always calls startForeground 2019-11-24 20:05:07 +01:00
ByteHamster 4bda044472 Fixed crash in download service 2019-11-24 19:57:56 +01:00
ByteHamster 66c91f9962 Merge branch 'master' into develop 2019-11-24 10:36:30 +01:00
ByteHamster caf063333a Updated contributors 2019-11-24 10:32:43 +01:00