Commit Graph

4585 Commits

Author SHA1 Message Date
ByteHamster
4411b0ffaa Fix possible missing sync calls 2018-05-06 19:21:02 +02:00
ByteHamster
cb70aeb3cf Code style improvements 2018-05-06 19:15:40 +02:00
ByteHamster
22f791e05f Moved auto update handling to new class 2018-05-06 19:07:25 +02:00
ByteHamster
61f8000352 Using callback instead of sync/async methods 2018-05-06 18:52:16 +02:00
Martin Fietz
f6faca95c0
Merge pull request #2673 from ByteHamster/preference-support
Switched to PreferenceFragmentCompat
2018-05-06 17:45:25 +02:00
Martin Fietz
b156458d83
Merge pull request #2646 from vimsick/fast-forward
Fix Bluetooth Forward Skip Button for Android 8
2018-05-06 17:37:53 +02:00
ydinath
274230ad25 Use filename instead 2018-05-05 18:07:51 -04:00
ydinath
ce1f0620fe Fix back press issue 2018-05-05 17:35:43 -04:00
orionlee
221ca84aaf Remove comments per @mfietz feedback. 2018-05-05 13:45:23 -07:00
Martin Fietz
930330fbb4
Merge pull request #2675 from ByteHamster/delete-feed-while-playing
Stop playback service when feed is deleted
2018-05-05 18:41:48 +02:00
ByteHamster
304696d59e Stop playback service when item of deleted feed is played
Closes #2425
2018-05-05 18:24:32 +02:00
Martin Fietz
121f1d9d79
Merge pull request #2671 from ByteHamster/content-encoded-addition
Fix empty contentEncoded
2018-05-05 18:24:09 +02:00
Martin Fietz
e04e537829
Merge pull request #2674 from ByteHamster/delete-while-playing
Prevent deletion of currently playing item
2018-05-05 18:21:14 +02:00
ByteHamster
1628360c4b Prevent deletion of currently playing item
Was already prevented in the download list but not on the details fragment.
Added alpha to make disabled state clear.

Closes #2285
2018-05-05 17:19:37 +02:00
ByteHamster
a270d4fc03 Migrated Gpodnet to JobIntentService, so it does not need notification 2018-05-05 15:10:08 +02:00
ByteHamster
7a768e9809 Fixed widget if service is not running 2018-05-05 14:32:04 +02:00
ByteHamster
7107819a6a Moved widget from app to core 2018-05-05 14:04:12 +02:00
ByteHamster
902068723c Added ExoPlayer to about section 2018-05-05 13:46:17 +02:00
ByteHamster
0b54d97a0a Switched widget to JobIntentService 2018-05-05 13:39:57 +02:00
H. Lehmann
dacd7787bc
Merge pull request #2664 from orionlee/share_link_improvement_2579
Share link improvement 2579
2018-05-04 23:31:39 +02:00
ByteHamster
ca3d6b9a3d Persist job through reboot 2018-05-04 22:47:53 +02:00
ByteHamster
eeb032e938 Notify system when job is done 2018-05-04 22:41:53 +02:00
ByteHamster
a97b524a05 Review changes #2 2018-05-04 22:23:15 +02:00
ByteHamster
c3510d821d Moved Flattr/gpodder to their own files 2018-05-04 19:07:17 +02:00
ByteHamster
686801fea2 Switched to PreferenceCompat 2018-05-04 19:06:32 +02:00
ByteHamster
f66e19845c Review changes 2018-05-04 14:36:32 +02:00
ByteHamster
9f0d187efd Fix empty contentEncoded
This code duplication was forgotten in #2607
2018-05-04 13:57:55 +02:00
orionlee
2e38cf3a40 Build tweak: Speed up debug build by making dexcount optional in debug
build, configured with a new gradle property enableDexcountInDebug.
2018-05-03 14:00:48 -07:00
ByteHamster
ffdfefc35d Fixed fresh install crash 2018-05-03 19:36:40 +02:00
ByteHamster
2190101cf9 Added JobScheduler for feed updates 2018-05-03 19:11:30 +02:00
ByteHamster
3e98ab61ea Start PlaybackService lazily to allow using ForegroundService 2018-05-03 19:11:30 +02:00
ByteHamster
7ad176ce29 Added notification categories
Android treats IMPORTANCE_DEFAULT as IMPORTANCE_HIGH
https://issuetracker.google.com/issues/65108694
2018-05-03 19:11:28 +02:00
ByteHamster
1d0459b126 Updated build tools 2018-05-03 19:11:00 +02:00
orionlee
4c7531d277 Flatten nested ifs, per @ByteHamster feedback 2018-05-02 13:53:56 -07:00
orionlee
9dcbddf371 Issue #2580: Expose "Mark as seen" as a context menu item in Episode
screen, in addition to the existing swipe in Episode > New tab.
2018-05-02 13:15:14 -07:00
ByteHamster
719545fd3d Prevent thrashing the database by opening and closing rapidly
Reduces number of real close() calls to the database
from multiple times per second to one single time
2018-05-02 21:52:21 +02:00
H. Lehmann
e16a111a12
Merge pull request #2659 from mr-intj/2366-pubdate-respecting-smart-shuffle
Added "Random" and "Smart Shuffle"
2018-05-01 07:29:38 +02:00
orionlee
ab0f413185 Make FeedItemUtil.getLinkWithFallback(item) tolerates null item. 2018-04-30 15:49:18 -07:00
orionlee
345fcc17d0 FeedItem Visit Website tweak: use feed website as a fallback,
analogous to how share FeedItem link work.
Applicable to both feed playback screen and feed information screen.
2018-04-30 15:44:19 -07:00
orionlee
36507eb506 Provide share Link in episode information screen, similar to episode playback screen. 2018-04-30 15:14:58 -07:00
orionlee
4bba6b30a1 Issue #2579: Provide share Link in episode playback screen even
when the episode has no link - Use podcast link as the fallback.
Also bug fix share link with position: to include epsiode
and podcast title.
2018-04-30 15:03:04 -07:00
mr-intj
7be44370f6 * Using Camel Case for methods
* Use braces on single-line blocks
2018-04-30 14:44:13 -07:00
mr-intj
91120d98a4 Added "Random" and "Smart Shuffle" items at the bottom of the Queue|Sort menu.
Added "Permutor" interface to allow specification of reordering logic to be specified in QueueSorter (vs. DBWriter), similar to the existing sort logic.

Added "Random" and "Smart Shuffle" strings to core/src/main/res/values (did not add translations for non-English languages)

Closes #2366, Closes #2602
2018-04-27 17:30:40 -07:00
ydinath
bb5f459744 Respect coding standard 2018-04-24 04:48:44 -04:00
ydinath
921665167f canGoBack doesn't work consistently when using loadDataWithBaseURL. Update old logic to allow depth > 1.
https://stackoverflow.com/questions/2686933/android-webview-can-render-html-going-forward-but-not-backward
https://stackoverflow.com/questions/14948652/webview-cangoback-not-working-when-using-loaddatawithbaseurl/15074071#15074071
2018-04-23 20:23:39 -04:00
ByteHamster
2bc3ca711c Merge branch 'develop' into exo-player 2018-04-22 21:33:19 +02:00
ByteHamster
9d3d92cc9d Fixed crash when changing settings
Looking at Fragment1, clicking Fragment2
Fragment2.onCreate
Fragment2.onResume
Fragment1.onPause <- This sets PreferenceUI to Fragment1, so onClickListeners
                     in Fragment2 now have a reference to the wrong fragment
2018-04-22 21:31:48 +02:00
ByteHamster
c977e70106 Removed duplicate String 2018-04-22 20:49:41 +02:00
ByteHamster
8b72f35147 Merge branch 'develop' into exo-player 2018-04-22 20:48:00 +02:00
ByteHamster
94bf3cd734 I deleted a line accidentally 2018-04-22 20:41:20 +02:00