summaryrefslogtreecommitdiff
path: root/core/src/main/java
AgeCommit message (Collapse)Author
2018-05-06Merge pull request #2646 from vimsick/fast-forwardMartin Fietz
Fix Bluetooth Forward Skip Button for Android 8
2018-05-05Merge pull request #2675 from ByteHamster/delete-feed-while-playingMartin Fietz
Stop playback service when feed is deleted
2018-05-05Stop playback service when item of deleted feed is playedByteHamster
Closes #2425
2018-05-05Merge pull request #2671 from ByteHamster/content-encoded-additionMartin Fietz
Fix empty contentEncoded
2018-05-04Merge pull request #2664 from orionlee/share_link_improvement_2579H. Lehmann
Share link improvement 2579
2018-05-04Fix empty contentEncodedByteHamster
This code duplication was forgotten in #2607
2018-05-02Flatten nested ifs, per @ByteHamster feedbackorionlee
2018-04-30Make FeedItemUtil.getLinkWithFallback(item) tolerates null item.orionlee
2018-04-30FeedItem Visit Website tweak: use feed website as a fallback,orionlee
analogous to how share FeedItem link work. Applicable to both feed playback screen and feed information screen.
2018-04-30Issue #2579: Provide share Link in episode playback screen evenorionlee
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* Using Camel Case for methodsmr-intj
* Use braces on single-line blocks
2018-04-27Added "Random" and "Smart Shuffle" items at the bottom of the Queue|Sort menu.mr-intj
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-22Disable items correctly in autodownloadByteHamster
2018-04-22Merge pull request #2654 from ydinath/ReplaceDeprecatedLang3MethodsMartin Fietz
Replace deprecated org.apache.commons.lang3 methods
2018-04-22Merge pull request #2639 from ByteHamster/fix-play-buttonMartin Fietz
Don't pause directly after starting
2018-04-21Fix formattingydinath
2018-04-21Replace deprecated org.apache.commons.lang3 methods with ↵ydinath
org.apache.commons.text methods
2018-04-19Fix Bluetooth Forward Skip Button for Android 8Spencer Visick
It appears that Oreo has changed the behavior for Bluetooth KeyEvents. Starting with Android 8.0, KeyEvent.getSource() returns 0 (unknown source). This change explicitly sets when a key press is sent from a notification, or lockscreen event. Otherwise we use the customer-defined skip behavior.
2018-04-12Don't pause directly after startingByteHamster
When registering the receiver, it immediately receives a headset unplugged event (broadcast is sticky) and pauses playback again in some cases. We are only interested in status changes, so we can just return. Fixes #2635
2018-04-11Allow to continue playback when leaving playerByteHamster
2018-04-09Removing PiP option for unsupported devicesByteHamster
2018-04-09Allow to enter PiP automaticallyByteHamster
2018-04-07Merge pull request #2618 from hannesa2/AndroidStudio_3.1Martin Fietz
update to AndroidStudio 3.1
2018-04-07Using Bill Pugh Singleton ImplementationByteHamster
2018-04-06Actually return instance in getInstanceByteHamster
This probably fixes all those "db deleted" issues and mysterious NPEs Previously, the synchronized keyword on open() and close() was useless because it was synchronizing on different objects in each thread.
2018-04-04Code format just in one file (no logic change)Hannes Achleitner
2018-04-03Merge pull request #2607 from ByteHamster/content-encodedMartin Fietz
Fixes empty contentEncoded
2018-04-01Merge pull request #2568 from ByteHamster/crashfixMartin Fietz
Fixed crash if media file exists but can not be read
2018-03-23Remove nested ifByteHamster
2018-03-23Use description for shownotes if it is longer than contentEncodedByteHamster
2018-03-23Fixes empty contentEncodedByteHamster
2018-03-22Fixed crash if media file exists but can not be readByteHamster
Happens when exporting db and importing it into debug version because media files are located in an app-private folder
2018-03-18Merge pull request #2569 from ByteHamster/white-iconMartin Fietz
Removed large icon from notification
2018-03-18Merge pull request #2574 from ByteHamster/forensicsMartin Fietz
Backup corrupted db
2018-03-04Fix possible NPE accessing image.download_urlJan Niehusmann
May fix #2386. If so, thanks to @cyplo who provided the logcat output which directed me to that code path.
2018-02-20Backup corrupted dbByteHamster
This might allow some forensics if #2463 happens. Maybe it also allows to recover some of the files manually.
2018-02-17Removed large iconByteHamster
Closes #2541. We do not need the same icon twice. As the icon is displayed white-on-white, it is not visible anyways. This also gives more space to the notification text
2018-01-24Merge pull request #2550 from ByteHamster/download-rangeMartin Fietz
Hotfix for servers not accepting the Range header
2018-01-23Hotfix for servers not accepting the Range headerByteHamster
Because of #2339, the file always exists when starting a download. There is still an issue with the server parsing "Range: bytes=0-" incorrectly, but this commit should make the error appear less often. Related to #2539
2018-01-22Merge pull request #2549 from AntennaPod/bugfix/corrupt-databaseMartin Fietz
Synchronize opening and closing of the database
2018-01-22Synchronize opening and closing of the databaseMartin Fietz
2018-01-21Merge branch 'develop' into stringbuilderMartin Fietz
2018-01-21Prefer StringBuilder over StringBufferAndrew Gaul
The latter has unnecessary synchronization. Found via error-prone.
2018-01-21Inline variablesMartin Fietz
2018-01-21Merge branch 'develop' into refactorMartin Fietz
# Conflicts: # app/src/main/java/de/danoeh/antennapod/activity/MediaplayerInfoActivity.java # core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java
2018-01-21Merge pull request #2445 from ByteHamster/exportMartin Fietz
Database import/export
2018-01-21Merge pull request #2543 from gaul/static-finalMartin Fietz
Make some static fields final
2018-01-20Make some static fields finalAndrew Gaul
Adding final prohibits modification and allows initialization of primitive and String fields at compile time instead of runtime in clinit: https://developer.android.com/training/articles/perf-tips.html#UseFinal Found via error-prone.
2018-01-20Make some inner classes staticAndrew Gaul
This avoids an implicit this field and can help GC. Found via error-prone.
2018-01-19PlayerStatus and playable fields cannot be finalMartin Fietz